X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=stat.h;h=e9551381ce7b7fd10092c195033ff2b911f2aa75;hb=63e3e40d47e1f318aa4d770d74a7b14d64867e1d;hp=98de281e2e1188387cb0ae9e887940c9abb7491b;hpb=fd5d733fa34cb1c2675bce6af7972f6fc12e60d0;p=fio.git diff --git a/stat.h b/stat.h index 98de281e..e9551381 100644 --- a/stat.h +++ b/stat.h @@ -246,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 { @@ -326,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,