X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fio.h;h=7b198b216411b81043e761e4fa444c09dfb5f012;hp=5e8ac66686d30753519139f80903a4f3a11281d9;hb=a77d139b089a5f4d0e25c24c61bba9076a32f64b;hpb=513e37eeb01a3037763124869dfcdd6152d92ab8 diff --git a/fio.h b/fio.h index 5e8ac666..7b198b21 100644 --- a/fio.h +++ b/fio.h @@ -95,6 +95,7 @@ enum { FIO_RAND_SEQ_RAND_TRIM_OFF, FIO_RAND_START_DELAY, FIO_DEDUPE_OFF, + FIO_RAND_POISSON_OFF, FIO_RAND_NR_OFFS, }; @@ -243,6 +244,8 @@ struct thread_data { unsigned long rate_blocks[DDIR_RWDIR_CNT]; unsigned long rate_io_issue_bytes[DDIR_RWDIR_CNT]; struct timeval lastrate[DDIR_RWDIR_CNT]; + int64_t last_usec; + struct frand_state poisson_state; /* * Enforced rate submission/completion workqueue