summaryrefslogtreecommitdiff
path: root/thread_options.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2017-03-16 14:43:37 -0600
committerJens Axboe <axboe@fb.com>2017-03-16 14:43:37 -0600
commit8243be59aa35aa016fcbeee99353b08376953911 (patch)
treea15dee863f0cc46b7abc777afce450574de739a5 /thread_options.h
parentf227e2b61ffb099019e760b0c6bbacb17fa848c4 (diff)
Add 'stats' option
This option controls whether or not we collect runtime stats and show stat output for a given job. Defaults to on. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'thread_options.h')
-rw-r--r--thread_options.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/thread_options.h b/thread_options.h
index 5e72867..2b2df33 100644
--- a/thread_options.h
+++ b/thread_options.h
@@ -206,6 +206,7 @@ struct thread_options {
unsigned int ioprio_class;
unsigned int file_service_type;
unsigned int group_reporting;
+ unsigned int stats;
unsigned int fadvise_hint;
unsigned int fadvise_stream;
enum fio_fallocate_mode fallocate_mode;
@@ -475,6 +476,7 @@ struct thread_options_pack {
uint32_t ioprio_class;
uint32_t file_service_type;
uint32_t group_reporting;
+ uint32_t stats;
uint32_t fadvise_hint;
uint32_t fadvise_stream;
uint32_t fallocate_mode;
@@ -502,7 +504,6 @@ struct thread_options_pack {
uint64_t trim_backlog;
uint32_t clat_percentiles;
uint32_t percentile_precision;
- uint32_t padding; /* REMOVE ME when possible to maintain alignment */
fio_fp64_t percentile_list[FIO_IO_U_LIST_MAX_LEN];
uint8_t read_iolog_file[FIO_TOP_STR_MAX];