[PATCH] Add support for writing aggregate bandwidth log
This is the same that is shown while fio is running, it can be useful
for graphing purposes as well.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/fio.h b/fio.h
index c214406..6e0c5b1 100644
--- a/fio.h
+++ b/fio.h
@@ -464,7 +464,11 @@
extern void disk_util_timer_arm(void);
extern void setup_log(struct io_log **);
extern void finish_log(struct thread_data *, struct io_log *, const char *);
+extern void __finish_log(struct io_log *, const char *);
extern int setup_rate(struct thread_data *);
+extern struct io_log *agg_io_log[2];
+extern int write_bw_log;
+extern void add_agg_sample(unsigned long, enum fio_ddir);
/*
* Time functions