X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fio.h;h=d28f8ce59cf15cee75c86d13f95099894dd2b547;hb=ae703cdf31532e337cc18c259c883bf5314aa43a;hp=50cf1b03f3956985d9244a32330969ae57ff12c1;hpb=9e31134635165bc4c64c18da5d9e8bb44987978d;p=fio.git diff --git a/fio.h b/fio.h index 50cf1b03..d28f8ce5 100644 --- a/fio.h +++ b/fio.h @@ -235,7 +235,15 @@ struct thread_data { uint64_t total_io_size; uint64_t fill_device_size; + /* + * Issue side + */ uint64_t io_issues[DDIR_RWDIR_CNT]; + uint64_t io_issue_bytes[DDIR_RWDIR_CNT]; + + /* + * Completions + */ uint64_t io_blocks[DDIR_RWDIR_CNT]; uint64_t this_io_blocks[DDIR_RWDIR_CNT]; uint64_t io_bytes[DDIR_RWDIR_CNT]; @@ -252,6 +260,7 @@ struct thread_data { struct timeval start; /* start of this loop */ struct timeval epoch; /* time job was started */ struct timeval last_issue; + long time_offset; struct timeval tv_cache; struct timeval terminate_time; unsigned int tv_cache_nr; @@ -393,6 +402,7 @@ extern int helper_do_stat; extern pthread_cond_t helper_cond; extern char *trigger_file; extern char *trigger_cmd; +extern char *trigger_remote_cmd; extern long long trigger_timeout; extern struct thread_data *threads; @@ -640,6 +650,9 @@ enum { FIO_RAND_DIST_PARETO, }; +#define FIO_DEF_ZIPF 1.1 +#define FIO_DEF_PARETO 0.2 + enum { FIO_RAND_GEN_TAUSWORTHE = 0, FIO_RAND_GEN_LFSR,