gettime: add basic init cpuclock test
authorJens Axboe <axboe@fb.com>
Tue, 23 Dec 2014 17:41:34 +0000 (10:41 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 23 Dec 2014 17:41:34 +0000 (10:41 -0700)
commitaad918e47d119eb2043311f1a2a45ce109c047d1
tree4573b1a8bde2ff82cefa9631b1b04a078daa3d58
parent3c6c5a29a74cf5727c0572b82907c330c38cea61
gettime: add basic init cpuclock test

Some systems claim to have a synced and constant rate tsc, even if
they don't. So add the basic cpuclock-test test as part of fio
trusting the CPU clock, to avoid using the CPU clock on a system
where the TSC truly isn't synced between CPUs.

Signed-off-by: Jens Axboe <axboe@fb.com>
gettime.c
gettime.h
init.c