On Samstag, 4. August 2018 15:48:53 CEST Marek Lindner wrote:
total_bytes = atomic64_read(&tp_vars->tot_sent);
/* The following calculation includes these steps:
* - divide bytes by the test length (msecs)
* - convert result from bits/ms to 0.1Mb/s (1Mb/s==1000000b/s)
*/
total_bytes = atomic64_read(&tp_vars->tot_sent);
Reading it once is enough :)
Kind regards, Sven