X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=iolog.h;h=8fedc192cd6298be13c229b955b7d651fae2da96;hp=af84e102e65054db60a26bc4ec6b9df121caf259;hb=fa769d44024be720f5775ea361d55b91e2fcc14e;hpb=836fcc0fceb233ebcc41ee63b4ea5cae20b678a4 diff --git a/iolog.h b/iolog.h index af84e102..8fedc192 100644 --- a/iolog.h +++ b/iolog.h @@ -97,6 +97,7 @@ enum file_log_act { FIO_LOG_UNLINK_FILE, }; +struct io_u; extern int __must_check read_iolog_get(struct thread_data *, struct io_u *); extern void log_io_u(struct thread_data *, struct io_u *); extern void log_file(struct thread_data *, struct fio_file *, enum file_log_act); @@ -117,7 +118,8 @@ extern void add_slat_sample(struct thread_data *, enum fio_ddir, unsigned long, unsigned int); extern void add_bw_sample(struct thread_data *, enum fio_ddir, unsigned int, struct timeval *); -extern void add_iops_sample(struct thread_data *, enum fio_ddir, struct timeval *); +extern void add_iops_sample(struct thread_data *, enum fio_ddir, unsigned int, + struct timeval *); extern void init_disk_util(struct thread_data *); extern void update_rusage_stat(struct thread_data *); extern void setup_log(struct io_log **, unsigned long, int);