summaryrefslogtreecommitdiff
path: root/stat.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2015-11-30 19:18:07 -0700
committerJens Axboe <axboe@fb.com>2015-11-30 19:18:07 -0700
commitcf8f852afc9d667362348f33410e7fc04190f6de (patch)
tree8f0efc12864b0d742695c2b566b8cd89353ccd8a /stat.h
parentde5cdfea341ffb027d6c2e9ebc147145c3c23372 (diff)
downloadfio-cf8f852afc9d667362348f33410e7fc04190f6de.tar.gz
fio-cf8f852afc9d667362348f33410e7fc04190f6de.tar.bz2
stat: move header declarations from iolog.h
The functions are in stat.c, move the to the right header. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'stat.h')
-rw-r--r--stat.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/stat.h b/stat.h
index 42649438..0fc5533f 100644
--- a/stat.h
+++ b/stat.h
@@ -270,6 +270,21 @@ extern void reset_io_stats(struct thread_data *);
extern void update_rusage_stat(struct thread_data *);
extern void clear_rusage_stat(struct thread_data *);
+extern void add_lat_sample(struct thread_data *, enum fio_ddir, unsigned long,
+ unsigned int, uint64_t);
+extern void add_clat_sample(struct thread_data *, enum fio_ddir, unsigned long,
+ unsigned int, uint64_t);
+extern void add_slat_sample(struct thread_data *, enum fio_ddir, unsigned long,
+ unsigned int, uint64_t);
+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, unsigned int,
+ struct timeval *);
+extern void add_agg_sample(unsigned long, enum fio_ddir, unsigned int);
+
+extern struct io_log *agg_io_log[DDIR_RWDIR_CNT];
+extern int write_bw_log;
+
static inline int usec_to_msec(unsigned long *min, unsigned long *max,
double *mean, double *dev)
{