summaryrefslogtreecommitdiff
path: root/fio.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2013-04-24 20:38:54 -0600
committerJens Axboe <axboe@kernel.dk>2013-04-24 20:38:54 -0600
commit06464907159baf7a1eeac654a023743e33f28d86 (patch)
tree7fb4283f8622b72e9f0b8675bdd69f16bd6dac1e /fio.h
parentfd8a09b8f4a7e0da67fe64cfb1d023bfb500d7eb (diff)
downloadfio-06464907159baf7a1eeac654a023743e33f28d86.tar.gz
Add support for other ways of triggering intermediate result outputs
Fio has support for using the USR1 signal to dump the current results while continuing to run. Add a --status-interval parameter to allow this to be configured to automatically happen every X seconds. There's also support for signaling fio through the file system. To do that, simply touch /tmp/fio-dump-status. When fio sees this file, it will unlink and dump the current results. A small tweak is needed for the file approach to work in Windows. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fio.h')
-rw-r--r--fio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fio.h b/fio.h
index 50a868ad..ebf6309b 100644
--- a/fio.h
+++ b/fio.h
@@ -362,6 +362,7 @@ extern int terse_version;
extern int is_backend;
extern int nr_clients;
extern int log_syslog;
+extern int status_interval;
extern const char fio_version_string[];
extern struct thread_data *threads;