t/io_uring: show IOPS in increments of 1000 IOPS if necessary
authorJens Axboe <axboe@kernel.dk>
Tue, 12 Oct 2021 19:48:45 +0000 (13:48 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 12 Oct 2021 19:48:45 +0000 (13:48 -0600)
commitdc10c23ab9a7b34f50a4957789ce1f2e0883366b
tree49238f2fbdc367ad792cc2df4b569846672bb358
parentd9f27d9190b91eb2e92f55145b59066084d12695
t/io_uring: show IOPS in increments of 1000 IOPS if necessary

It's a bit hard to read the millions of IOPS, so if we're above 100K
IOPS, scale by 1000 and add a K instead. This is easier to read:

IOPS=7235K, BW=3532MiB/s, IOS/call=31/31, inflight=(78 114)
IOPS=7218K, BW=3524MiB/s, IOS/call=32/32, inflight=(79 105)

Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/io_uring.c