From a7f5831f1feafbaa41a558028226b517734c54a0 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Sat, 1 Dec 2012 15:02:11 +0100 Subject: [PATCH] Revert "Change preferred default clocksource to gettimeofday()" This reverts commit f7161017b75f5d3526147d42d3b583973922c444. clock_gettime() is monotonic, so a superior clock source even if it is slower. --- os/os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/os.h b/os/os.h index 1d3a750a..2e4764e1 100644 --- a/os/os.h +++ b/os/os.h @@ -135,7 +135,7 @@ typedef unsigned long os_cpu_mask_t; #endif #ifndef FIO_PREFERRED_CLOCK_SOURCE -#define FIO_PREFERRED_CLOCK_SOURCE CS_GTOD +#define FIO_PREFERRED_CLOCK_SOURCE CS_CGETTIME #endif #ifndef FIO_MAX_JOBS -- 2.25.1