projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dedupe: default to using a bloom filter to save memory
[fio.git]
/
gettime.c
diff --git
a/gettime.c
b/gettime.c
index fa750ec85584716f7b6e37c5241130f8688dd6cb..8a1392392ab2ff3c92b8698c59fe79ea7cdd9adc 100644
(file)
--- a/
gettime.c
+++ b/
gettime.c
@@
-541,9
+541,13
@@
int fio_monotonic_clocktest(void)
log_info("cs: reliable_tsc: %s\n", tsc_reliable ? "yes" : "no");
log_info("cs: reliable_tsc: %s\n", tsc_reliable ? "yes" : "no");
+#ifdef FIO_INC_DEBUG
fio_debug |= 1U << FD_TIME;
fio_debug |= 1U << FD_TIME;
+#endif
calibrate_cpu_clock();
calibrate_cpu_clock();
+#ifdef FIO_INC_DEBUG
fio_debug &= ~(1U << FD_TIME);
fio_debug &= ~(1U << FD_TIME);
+#endif
threads = malloc(nr_cpus * sizeof(struct clock_thread));
tentries = CLOCK_ENTRIES * nr_cpus;
threads = malloc(nr_cpus * sizeof(struct clock_thread));
tentries = CLOCK_ENTRIES * nr_cpus;