On 04/08/18 22:23, Sven Eckelmann wrote:
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 :)
argh, agreed! changed that twice...and forgot to remote the other line :)
Kind regards, Sven