From f7161017b75f5d3526147d42d3b583973922c444 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 30 Nov 2012 19:43:31 +0100 Subject: [PATCH] Change preferred default clocksource to gettimeofday() It's faster than clock_gettime() Signed-off-by: Jens Axboe --- os/os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/os.h b/os/os.h index 2e4764e1..1d3a750a 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_CGETTIME +#define FIO_PREFERRED_CLOCK_SOURCE CS_GTOD #endif #ifndef FIO_MAX_JOBS -- 2.25.1