gettime: even rounding, don't always round up
[fio.git] / options.c
index d46bcbbcf6c9cab8fc1c41e8800bc5071429ccd9..ae290edb15d4e45260c5a5d0c7b9dcd7c596a8d2 100644 (file)
--- a/options.c
+++ b/options.c
@@ -370,7 +370,8 @@ 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;
+       fio_clock_init();
        return 0;
 }