From: Jens Axboe Date: Sat, 1 Dec 2012 14:02:11 +0000 (+0100) Subject: Revert "Change preferred default clocksource to gettimeofday()" X-Git-Tag: fio-2.0.12~29 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=a7f5831f1feafbaa41a558028226b517734c54a0;p=fio.git 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. --- 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