projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3cf1ff4
)
Add info log on whether tsc is reliable or not for --cpuclock-test
author
Jens Axboe
<axboe@kernel.dk>
Fri, 18 Jan 2013 19:13:45 +0000
(20:13 +0100)
committer
Jens 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
patch
|
blob
|
blame
|
history
diff --git
a/gettime.c
b/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;
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);
fio_debug |= 1U << FD_TIME;
calibrate_cpu_clock();
fio_debug &= ~(1U << FD_TIME);