From: Jens Axboe Date: Tue, 24 Jun 2014 16:12:47 +0000 (-0600) Subject: Get the crctest results properly aligned X-Git-Tag: fio-2.1.11~52 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=31538d8744bba70f29623c547a2dbab3a1dcdd9a Get the crctest results properly aligned Before: md5: 534.03 MB/sec crc64: 392.31 MB/sec crc32: 352.36 MB/sec crc32c: 8225.43 MB/sec crc16: 384.46 MB/sec crc7: 386.79 MB/sec sha1: 381.15 MB/sec sha256: 186.47 MB/sec sha512: 303.18 MB/sec xxhash: 6329.90 MB/sec After: md5: 548.59 MB/sec crc64: 381.45 MB/sec crc32: 347.89 MB/sec crc32c: 8577.36 MB/sec crc16: 396.56 MB/sec crc7: 396.72 MB/sec sha1: 385.87 MB/sec sha256: 206.60 MB/sec sha512: 314.62 MB/sec xxhash: 6293.64 MB/sec Signed-off-by: Jens Axboe --- diff --git a/crc/test.c b/crc/test.c index 3773b714..3ce717a0 100644 --- a/crc/test.c +++ b/crc/test.c @@ -373,7 +373,7 @@ int fio_crctest(const char *type) usec = t[i].fn(); mb_sec = (double) mb / (double) usec; mb_sec /= (1.024 * 1.024); - printf("%s:\t%.2f MB/sec\n", t[i].name, mb_sec); + printf("%s:\t%8.2f MB/sec\n", t[i].name, mb_sec); } return 0;