Merge git://git.kernel.dk/fio into steady-state
[fio.git] / libfio.c
index 0f9f4e751b7476760049a73e3c5650a5e097ff1d..960daf69f6c0d145998a58bbbcdb225b861c60d6 100644 (file)
--- a/libfio.c
+++ b/libfio.c
@@ -152,6 +152,7 @@ void reset_all_stats(struct thread_data *td)
        memcpy(&td->start, &td->epoch, sizeof(struct timeval));
        memcpy(&td->iops_sample_time, &td->epoch, sizeof(struct timeval));
        memcpy(&td->bw_sample_time, &td->epoch, sizeof(struct timeval));
+       memcpy(&td->ss.prev_time, &td->epoch, sizeof(struct timeval));
 
        lat_target_reset(td);
        clear_rusage_stat(td);