Convert group_run_stats to use bytes instead of KiB/KB
authorRobert Elliott <elliott@hpe.com>
Thu, 22 Dec 2016 20:50:48 +0000 (14:50 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 3 Jan 2017 01:19:49 +0000 (18:19 -0700)
commitaf7f87cb59fb3fc29a7d9f56f03f7b42680a45f2
treef451ca9052235f29c0521d8afca53369e7996ead
parent2b27ad33caede153908e16ffde21384837d4eff5
Convert group_run_stats to use bytes instead of KiB/KB

In group_run_stats, convert these fields:
* io_kb (bytes transferred)
* agg (aggregate average bandwidth)
* min_bw
* max_bw

from tracking either KiB or KB depending on kb_base to simply tracking bytes.
Rename io_kb to iobytes to match this new meaning.

This will simplify computing quantities and bandwidth rates with both IEC
binary and SI decimal unit prefixes (e.g., GiB/s and GB/s) in future patches.

Signed-off-by: Jens Axboe <axboe@fb.com>
client.c
server.c
stat.c
stat.h