summaryrefslogtreecommitdiff
path: root/thread_options.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-04-14 16:23:33 -0600
committerJens Axboe <axboe@kernel.dk>2018-04-14 16:23:33 -0600
commit6dd7fa7789b67c73190b8c2006d799bee890cf23 (patch)
tree3e88652c4ff3d7f65b908e9a53b1e34cd52f5565 /thread_options.h
parentf4b49c5523f14f39ecae250c64f8f93a9e3c1855 (diff)
Add 'replay_time_scale' option
This allows the user to scale the replay speed of an IO trace. It defaults to 100, meaning run at 100% the original rate. If set to 50, fio will replay at 50% the original IO rate. If set to 400, fio will replay at 4x the original rate. And so on. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'thread_options.h')
-rw-r--r--thread_options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/thread_options.h b/thread_options.h
index dc290b0..944feaf 100644
--- a/thread_options.h
+++ b/thread_options.h
@@ -317,6 +317,7 @@ struct thread_options {
unsigned int replay_align;
unsigned int replay_scale;
+ unsigned int replay_time_scale;
unsigned int per_job_logs;
@@ -592,6 +593,7 @@ struct thread_options_pack {
uint32_t replay_align;
uint32_t replay_scale;
+ uint32_t replay_time_scale;
uint32_t per_job_logs;