projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
server: include number of CPUs in probe reply
[fio.git]
/
profiles
/
tiobench.c
diff --git
a/profiles/tiobench.c
b/profiles/tiobench.c
index e8c478ec6ce817c819fcd8fc21724b901e343dcb..5ab602af75e5c4c4db67fa1aa1fa983f49e70c8e 100644
(file)
--- a/
profiles/tiobench.c
+++ b/
profiles/tiobench.c
@@
-23,34
+23,44
@@
static const char *tb_opts[] = {
static struct fio_option options[] = {
{
.name = "size",
static struct fio_option options[] = {
{
.name = "size",
+ .lname = "Tiobench size",
.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_IO,
},
{
.name = "block",
},
{
.name = "block",
+ .lname = "Tiobench block",
.type = FIO_OPT_INT,
.roff1 = &bs,
.help = "Block size in bytes",
.def = "4k",
.type = FIO_OPT_INT,
.roff1 = &bs,
.help = "Block size in bytes",
.def = "4k",
+ .category = FIO_OPT_C_IO,
},
{
.name = "numruns",
},
{
.name = "numruns",
+ .lname = "Tiobench numruns",
.type = FIO_OPT_INT,
.roff1 = &loops,
.help = "Number of runs",
.type = FIO_OPT_INT,
.roff1 = &loops,
.help = "Number of runs",
+ .category = FIO_OPT_C_GENERAL,
},
{
.name = "dir",
},
{
.name = "dir",
+ .lname = "Tiobench directory",
.type = FIO_OPT_STR_STORE,
.roff1 = &dir,
.help = "Test directory",
.type = FIO_OPT_STR_STORE,
.roff1 = &dir,
.help = "Test directory",
+ .category = FIO_OPT_C_FILE,
},
{
.name = "threads",
},
{
.name = "threads",
+ .lname = "Tiobench threads",
.type = FIO_OPT_INT,
.roff1 = &nthreads,
.help = "Number of Threads",
.type = FIO_OPT_INT,
.roff1 = &nthreads,
.help = "Number of Threads",
+ .category = FIO_OPT_C_GENERAL,
},
{
.name = NULL,
},
{
.name = NULL,
@@
-85,7
+95,7
@@
static void tb_prep_cmdline(void)
static struct profile_ops tiobench_profile = {
.name = "tiobench",
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,
.options = options,
.prep_cmd = tb_prep_cmdline,
.cmdline = tb_opts,