Handle percentile lists with higher precision that 2 digits
[fio.git] / options.c
index 4522fe450c5daaf2c2394aed56ef87578c48cd62..42a2ea0716c38306ba109b31385002fbc33da98c 100644 (file)
--- a/options.c
+++ b/options.c
@@ -2434,6 +2434,7 @@ static struct fio_option options[FIO_MAX_OPTS] = {
                .name   = "percentile_list",
                .type   = FIO_OPT_FLOAT_LIST,
                .off1   = td_var_offset(percentile_list),
+               .off2   = td_var_offset(percentile_precision),
                .help   = "Specify a custom list of percentiles to report",
                .def    = "1:5:10:20:30:40:50:60:70:80:90:95:99:99.5:99.9:99.95:99.99",
                .maxlen = FIO_IO_U_LIST_MAX_LEN,