summaryrefslogtreecommitdiff
path: root/stat.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-09-13 22:07:31 -0600
committerJens Axboe <axboe@kernel.dk>2017-09-13 22:07:31 -0600
commitb599759ba565e7f2f573af364e6da4fe6d556a90 (patch)
tree09e905d42b6860bedca8b3f12f67d547593d4baa /stat.h
parent8945237ceaa322d5cb0b2f601e4ccf1d85680280 (diff)
downloadfio-b599759ba565e7f2f573af364e6da4fe6d556a90.tar.gz
fio-b599759ba565e7f2f573af364e6da4fe6d556a90.tar.bz2
Add support for doing total latency percentiles
By default, fio does completion latency percentiles. Sometimes what you want is total IO latency percentiles, including the submission part as well. If that's your thing, then set lat_percentiles=1 and get that instead of the default completion latency percentiles. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'stat.h')
-rw-r--r--stat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/stat.h b/stat.h
index 132dee3c..848331bb 100644
--- a/stat.h
+++ b/stat.h
@@ -172,7 +172,8 @@ struct thread_stat {
/*
* IO depth and latency stats
*/
- uint64_t clat_percentiles;
+ uint32_t clat_percentiles;
+ uint32_t lat_percentiles;
uint64_t percentile_precision;
fio_fp64_t percentile_list[FIO_IO_U_LIST_MAX_LEN];