From: Jens Axboe Date: Fri, 18 Jan 2013 19:13:45 +0000 (+0100) Subject: Add info log on whether tsc is reliable or not for --cpuclock-test X-Git-Tag: fio-2.0.14~116 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=d5e3f5d8ef7fab70288aa57c8660bc3d2199655f;p=fio.git Add info log on whether tsc is reliable or not for --cpuclock-test Signed-off-by: Jens Axboe --- 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);