summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2013-01-18 20:13:45 +0100
committerJens Axboe <axboe@kernel.dk>2013-01-18 20:13:45 +0100
commitd5e3f5d8ef7fab70288aa57c8660bc3d2199655f (patch)
tree01390793ca051579e78bb7f9d6a723e59ea95fa7
parent3cf1ff44af1a1cc17354ce495647448e1e4924e2 (diff)
downloadfio-d5e3f5d8ef7fab70288aa57c8660bc3d2199655f.tar.gz
fio-d5e3f5d8ef7fab70288aa57c8660bc3d2199655f.tar.bz2
Add info log on whether tsc is reliable or not for --cpuclock-test
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--gettime.c2
1 files changed, 2 insertions, 0 deletions
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);