X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=stat.c;h=cc1c360e95a522960652e251e4436f3cb4deb66b;hp=9d93dcd17040d6326a1c8ea9c0226d7dfd363bb6;hb=cdb8308d5d69d7e465473e1f39f5e78d027715da;hpb=8178434ccba8e2d06684ce0c730b0eda571c5280 diff --git a/stat.c b/stat.c index 9d93dcd1..cc1c360e 100644 --- a/stat.c +++ b/stat.c @@ -3106,7 +3106,7 @@ static int __add_samples(struct thread_data *td, struct timespec *parent_tv, stat_io_bytes[ddir] = this_io_bytes[ddir]; } - timespec_add_msec(parent_tv, avg_time); + *parent_tv = *t; if (needs_lock) __td_io_u_unlock(td);