Add check for invariant TSC on x86 and use TSC is default clock if reliable
[fio.git] / options.c
index d46bcbbcf6c9cab8fc1c41e8800bc5071429ccd9..738c78bb7daea3cfead7a2e1090b8af595f8c564 100644 (file)
--- a/options.c
+++ b/options.c
@@ -370,7 +370,7 @@ static int fio_clock_source_cb(void *data, const char *str)
        struct thread_data *td = data;
 
        fio_clock_source = td->o.clocksource;
-       fio_time_init();
+       fio_clock_source_set = 1;
        return 0;
 }