X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fio.h;h=791b005e49cf429cbaa99be3cadbdb64680c428a;hp=cb78f255822cc49367e3aba81f5bb1b9464be31f;hb=690089990d051d86b4ef2b6fd5c1972c0dd4897b;hpb=08aae9a0d5f3d24152abd7515984439bbfd3c05d diff --git a/fio.h b/fio.h index cb78f255..791b005e 100644 --- a/fio.h +++ b/fio.h @@ -308,6 +308,7 @@ struct thread_data { struct timeval start; /* start of this loop */ struct timeval epoch; /* time job was started */ + struct timeval end_time;/* time job ended */ /* * fio system usage accounting @@ -452,6 +453,7 @@ extern int setup_rate(struct thread_data *); * Time functions */ extern unsigned long utime_since(struct timeval *, struct timeval *); +extern unsigned long utime_since_now(struct timeval *); extern unsigned long mtime_since(struct timeval *, struct timeval *); extern unsigned long mtime_since_now(struct timeval *); extern unsigned long time_since_now(struct timeval *);