summaryrefslogtreecommitdiff
path: root/crc
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-06-24 10:12:47 -0600
committerJens Axboe <axboe@fb.com>2014-06-24 10:12:47 -0600
commit31538d8744bba70f29623c547a2dbab3a1dcdd9a (patch)
tree6f3406a29ec026455d249b3c86c3553b53b4905d /crc
parentef3d8e53c01456f22a61c162e4e5a3997af14a5d (diff)
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 <axboe@fb.com>
Diffstat (limited to 'crc')
-rw-r--r--crc/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crc/test.c b/crc/test.c
index 3773b71..3ce717a 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;