Clear rusage stat when resetting all stats
authorJens Axboe <axboe@fb.com>
Mon, 30 Nov 2015 21:44:06 +0000 (14:44 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 30 Nov 2015 21:44:06 +0000 (14:44 -0700)
commit210dd0fc66b8956065e098bb9314febe8993e849
treef92610f7c3acb8d23bde5c8f1b0391d01cf4757c
parent9e129577b8799a9578a6aa6021a58367981e320a
Clear rusage stat when resetting all stats

This fixes an issue with bad rusage reporting, particularly when
the runtime to ramptime ratio is low.

Signed-off-by: Jens Axboe <axboe@fb.com>
iolog.h
libfio.c
stat.c
stat.h