crc/test: cleanup and better precision
authorJens Axboe <axboe@fb.com>
Fri, 25 Jul 2014 08:12:26 +0000 (10:12 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 25 Jul 2014 08:12:26 +0000 (10:12 +0200)
commit24ef7a61bc7b9ec0f479980b6b219ef7d986d708
tree5c010bc059808b51eab844ec2e7ba3db5c2091e4
parent69bdd6badc47775443413405e1aea4abe9e570c9
crc/test: cleanup and better precision

Make sure we're a bit cache warm at least, and don't allocate, free,
and randomize a buffer for each hash.

Signed-off-by: Jens Axboe <axboe@fb.com>
crc/test.c