Add info log on whether tsc is reliable or not for --cpuclock-test
authorJens Axboe <axboe@kernel.dk>
Fri, 18 Jan 2013 19:13:45 +0000 (20:13 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Jan 2013 19:13:45 +0000 (20:13 +0100)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
gettime.c

index e60d3e2..f29edcb 100644 (file)
--- a/gettime.c
+++ b/gettime.c
@@ -504,6 +504,8 @@ int fio_monotonic_clocktest(void)
        uint64_t seq = 0;
        int i;
 
+       log_info("cs: reliable_tsc: %s\n", tsc_reliable ? "yes" : "no");
+
        fio_debug |= 1U << FD_TIME;
        calibrate_cpu_clock();
        fio_debug &= ~(1U << FD_TIME);