X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=stat.h;h=e9551381ce7b7fd10092c195033ff2b911f2aa75;hp=5dcaae029cde28f77efbed623683ec271d04fc76;hb=96563db9995c5cebdce526f2bf97923153d4456b;hpb=0aa8371d9fc40121098929a7f670dcdd259b8eee diff --git a/stat.h b/stat.h index 5dcaae02..e9551381 100644 --- a/stat.h +++ b/stat.h @@ -211,6 +211,9 @@ struct thread_stat { uint32_t first_error; uint64_t total_err_count; + /* ZBD stats */ + uint64_t nr_zone_resets; + uint64_t nr_block_infos; uint32_t block_infos[MAX_NR_BLOCK_INFOS]; @@ -243,6 +246,9 @@ struct thread_stat { uint64_t *ss_bw_data; uint64_t pad5; }; + + uint64_t cachehit; + uint64_t cachemiss; } __attribute__((packed)); struct jobs_eta { @@ -323,7 +329,7 @@ extern void add_sync_clat_sample(struct thread_stat *ts, extern int calc_log_samples(void); extern struct io_log *agg_io_log[DDIR_RWDIR_CNT]; -extern int write_bw_log; +extern bool write_bw_log; static inline bool nsec_to_usec(unsigned long long *min, unsigned long long *max, double *mean,