static struct fio_option options[] = {
{
.name = "size",
+ .lname = "Tiobench size",
.type = FIO_OPT_STR_VAL,
.roff1 = &size,
.help = "Size in MB",
+ .category = FIO_OPT_C_PROFILE,
+ .group = FIO_OPT_G_TIOBENCH,
},
{
.name = "block",
+ .lname = "Tiobench block",
.type = FIO_OPT_INT,
.roff1 = &bs,
.help = "Block size in bytes",
.def = "4k",
+ .category = FIO_OPT_C_PROFILE,
+ .group = FIO_OPT_G_TIOBENCH,
},
{
.name = "numruns",
+ .lname = "Tiobench numruns",
.type = FIO_OPT_INT,
.roff1 = &loops,
.help = "Number of runs",
+ .category = FIO_OPT_C_PROFILE,
+ .group = FIO_OPT_G_TIOBENCH,
},
{
.name = "dir",
+ .lname = "Tiobench directory",
.type = FIO_OPT_STR_STORE,
.roff1 = &dir,
.help = "Test directory",
+ .category = FIO_OPT_C_PROFILE,
+ .group = FIO_OPT_G_TIOBENCH,
},
{
.name = "threads",
+ .lname = "Tiobench threads",
.type = FIO_OPT_INT,
.roff1 = &nthreads,
.help = "Number of Threads",
+ .category = FIO_OPT_C_PROFILE,
+ .group = FIO_OPT_G_TIOBENCH,
},
{
.name = NULL,
static struct profile_ops tiobench_profile = {
.name = "tiobench",
- .desc = "Emulate behaviour of the tiotest/tiobench benchmark",
+ .desc = "tiotest/tiobench benchmark",
.options = options,
.prep_cmd = tb_prep_cmdline,
.cmdline = tb_opts,