Add info log on whether tsc is reliable or not for --cpuclock-test
[fio.git] / gettime.c
index e60d3e20ee492ee96c628e671951ada7e67c1b0b..f29edcb7bd64bb2085a03cae25c0ae25057c22aa 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);