X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fio.h;h=17bc02bc59f0eba2a39aa40b5b5142407b1bc02b;hb=50a8ce864e2c5bee7c44935b39b357aa8071615b;hp=744d99422ba70d4e4c641eb05023742139e1ab93;hpb=263775ad3c26a76f05cdf8b204c466af09c8adda;p=fio.git diff --git a/fio.h b/fio.h index 744d9942..17bc02bc 100644 --- a/fio.h +++ b/fio.h @@ -238,9 +238,10 @@ struct thread_data { * Rate state */ uint64_t rate_bps[DDIR_RWDIR_CNT]; - long rate_pending_usleep[DDIR_RWDIR_CNT]; + unsigned long rate_next_io_time[DDIR_RWDIR_CNT]; unsigned long rate_bytes[DDIR_RWDIR_CNT]; unsigned long rate_blocks[DDIR_RWDIR_CNT]; + unsigned long rate_io_issue_bytes[DDIR_RWDIR_CNT]; struct timeval lastrate[DDIR_RWDIR_CNT]; /* @@ -517,6 +518,7 @@ enum { TD_FINISHING, TD_EXITED, TD_REAPED, + TD_LAST, }; extern void td_set_runstate(struct thread_data *, int);