nanosecond: initial commit changing timeval to timespec
[fio.git] / steadystate.c
index 98f027cee4013ac4f75db7a4ade31c8d5f8056fa..45d4f5d2eeb928306c1b312e20f960b6f9b53506 100644 (file)
@@ -196,7 +196,7 @@ void steadystate_check(void)
        int i, j, ddir, prev_groupid, group_ramp_time_over = 0;
        unsigned long rate_time;
        struct thread_data *td, *td2;
-       struct timeval now;
+       struct timespec now;
        uint64_t group_bw = 0, group_iops = 0;
        uint64_t td_iops, td_bytes;
        bool ret;