nanosecond: initial commit changing timeval to timespec
[fio.git] / diskutil.c
index 9767ea255c882a66511954472a2a9f70f56c5d41..4fe554f561af20919434fcbdeef4cfd66e8dd0f9 100644 (file)
@@ -84,7 +84,7 @@ static int get_io_ticks(struct disk_util *du, struct disk_util_stat *dus)
 static void update_io_tick_disk(struct disk_util *du)
 {
        struct disk_util_stat __dus, *dus, *ldus;
-       struct timeval t;
+       struct timespec t;
 
        if (!du->users)
                return;