Commit 9e8a1482 authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov

ioping: fix final bps overflow

Signed-off-by: default avatarKonstantin Khlebnikov <koct9i@gmail.com>
parent a9eee379
......@@ -1193,9 +1193,9 @@ skip_preparation:
printf(" requests completed in ");
print_time(time_total);
printf(", ");
print_int(request * 1000000. / time_sum);
print_int(1000000. * request / time_sum);
printf(" iops, ");
print_size(request * size * 1000000. / time_sum);
print_size(1000000. * request * size / time_sum);
printf("/s\n");
printf("min/avg/max/mdev = ");
print_time(time_min);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment