implement 'unit_base' option to select between KB and Kbit et. al.
authorSteven Noonan <steven@uplinklabs.net>
Mon, 8 Apr 2013 22:05:25 +0000 (15:05 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 9 Apr 2013 18:00:35 +0000 (20:00 +0200)
commitad705bcb7e79a7cdb9891db17b4c40b13b6c30c3
tree56c61ae6c493498757267fda87d6c7582c4fa2ab
parent73798eb297e4d4afa2f67d72eb2a3618592a1c4d
implement 'unit_base' option to select between KB and Kbit et. al.

With network testing, it's often desirable to measure in terms of
kilobits/megabits rather than kilobytes/megabytes. This adds an option named
'unit_base' which can be set to either '1' or '8', where '1' means represent in
terms of bits and '8' means to represent rate in terms of bytes.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
client.c
engines/net.c
eta.c
fio.h
init.c
ioengine.h
options.c
server.c
stat.c
stat.h