projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Categorize engine and profile options
[fio.git]
/
profiles
/
tiobench.c
diff --git
a/profiles/tiobench.c
b/profiles/tiobench.c
index f86a33787d9ca4e5f25fe2d096089c04b902154d..8a05d51afe9f2f69698c84a8725750b81d7cd10d 100644
(file)
--- a/
profiles/tiobench.c
+++ b/
profiles/tiobench.c
@@
-26,6
+26,8
@@
static struct fio_option options[] = {
.type = FIO_OPT_STR_VAL,
.roff1 = &size,
.help = "Size in MB",
.type = FIO_OPT_STR_VAL,
.roff1 = &size,
.help = "Size in MB",
+ .category = FIO_OPT_C_PROFILE,
+ .group = FIO_OPT_G_TIOPROF,
},
{
.name = "block",
},
{
.name = "block",
@@
-33,24
+35,32
@@
static struct fio_option options[] = {
.roff1 = &bs,
.help = "Block size in bytes",
.def = "4k",
.roff1 = &bs,
.help = "Block size in bytes",
.def = "4k",
+ .category = FIO_OPT_C_PROFILE,
+ .group = FIO_OPT_G_TIOPROF,
},
{
.name = "numruns",
.type = FIO_OPT_INT,
.roff1 = &loops,
.help = "Number of runs",
},
{
.name = "numruns",
.type = FIO_OPT_INT,
.roff1 = &loops,
.help = "Number of runs",
+ .category = FIO_OPT_C_PROFILE,
+ .group = FIO_OPT_G_TIOPROF,
},
{
.name = "dir",
.type = FIO_OPT_STR_STORE,
.roff1 = &dir,
.help = "Test directory",
},
{
.name = "dir",
.type = FIO_OPT_STR_STORE,
.roff1 = &dir,
.help = "Test directory",
+ .category = FIO_OPT_C_PROFILE,
+ .group = FIO_OPT_G_TIOPROF,
},
{
.name = "threads",
.type = FIO_OPT_INT,
.roff1 = &nthreads,
.help = "Number of Threads",
},
{
.name = "threads",
.type = FIO_OPT_INT,
.roff1 = &nthreads,
.help = "Number of Threads",
+ .category = FIO_OPT_C_PROFILE,
+ .group = FIO_OPT_G_TIOPROF,
},
{
.name = NULL,
},
{
.name = NULL,