Add FIO_OPT_G_IO_ENG category
[fio.git] / gettime.c
index 2037354d0116a122ffb9b698c55b7b9aacbce86b..e8f5ab55af38381e125a961407f876a82bcfb207 100644 (file)
--- a/gettime.c
+++ b/gettime.c
@@ -24,7 +24,7 @@ int fio_gtod_offload = 0;
 int fio_gtod_cpu = -1;
 static pthread_t gtod_thread;
 
-enum fio_cs fio_clock_source = CS_GTOD;
+enum fio_cs fio_clock_source = FIO_PREFERRED_CLOCK_SOURCE;
 
 #ifdef FIO_DEBUG_TIME
 
@@ -273,7 +273,7 @@ void fio_gtod_init(void)
        assert(fio_tv);
 }
 
-void fio_gtod_update(void)
+static void fio_gtod_update(void)
 {
        gettimeofday(fio_tv, NULL);
 }