X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.c;h=de691eb32144ef0468341639ef5fc79aab0d441c;hp=fb187489766205d64a15e08b7d86b7a1edb04f2e;hb=02af09886db695e5ea2b7fd2a632733955f3c03f;hpb=2fa55e93d8895e0645df3e50baae82d15d9beea4 diff --git a/options.c b/options.c index fb187489..de691eb3 100644 --- a/options.c +++ b/options.c @@ -710,6 +710,7 @@ static int str_gtod_reduce_cb(void *data, int *il) struct thread_data *td = data; int val = *il; + td->o.disable_lat = !!val; td->o.disable_clat = !!val; td->o.disable_slat = !!val; td->o.disable_bw = !!val; @@ -1791,6 +1792,14 @@ static struct fio_option options[FIO_MAX_OPTS] = { .cb = str_gtod_reduce_cb, .def = "0", }, + { + .name = "disable_lat", + .type = FIO_OPT_BOOL, + .off1 = td_var_offset(disable_lat), + .help = "Disable latency numbers", + .parent = "gtod_reduce", + .def = "0", + }, { .name = "disable_clat", .type = FIO_OPT_BOOL,