commit | c8aaba193fd910f89486ba4caab0c023306fffae | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Mon Oct 03 12:14:19 2011 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Oct 03 12:14:19 2011 +0200 |
tree | ab25d2cbfc6a14805316ae5aa836921811cc8dd1 | |
parent | f0505a1457d848e25e59f0d4373a066c2cef5de0 [diff] [blame] |
Move getrusage() out of thread_stat Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/fio.c b/fio.c index baa17cf..765c517 100644 --- a/fio.c +++ b/fio.c
@@ -1169,7 +1169,7 @@ } fio_gettime(&td->epoch, NULL); - getrusage(RUSAGE_SELF, &td->ts.ru_start); + getrusage(RUSAGE_SELF, &td->ru_start); clear_state = 0; while (keep_running(td)) {