From d5e3f5d8ef7fab70288aa57c8660bc3d2199655f Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 18 Jan 2013 20:13:45 +0100 Subject: [PATCH] Add info log on whether tsc is reliable or not for --cpuclock-test Signed-off-by: Jens Axboe --- gettime.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gettime.c b/gettime.c index e60d3e20..f29edcb7 100644 --- 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); -- 2.25.1