[PATCH] Improve time accounting for a job
authorJens Axboe <jens.axboe@oracle.com>
Fri, 24 Nov 2006 12:12:56 +0000 (13:12 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 24 Nov 2006 12:12:56 +0000 (13:12 +0100)
commit690089990d051d86b4ef2b6fd5c1972c0dd4897b
tree7a4f7cebef5959b1d5e6da846b8f5b2c2efa3be9
parent08aae9a0d5f3d24152abd7515984439bbfd3c05d
[PATCH] Improve time accounting for a job

We need to account loop time in usecs, or the null io engine can
get the timing wrong. For the system usage stats, don't use summed
up loop counts, but calculate end-start time instead.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fio.c
fio.h
stat.c
time.c