projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Start of ACT like benchmark profile
[fio.git]
/
profiles
/
tiobench.c
diff --git
a/profiles/tiobench.c
b/profiles/tiobench.c
index 0279e1cafbec95d286f802889ec8045729a2c3cc..0d2ce8065e261b276bf40f6a8a753c343225dbc2 100644
(file)
--- a/
profiles/tiobench.c
+++ b/
profiles/tiobench.c
@@
-75,9
+75,8
@@
static struct fio_option options[] = {
/*
* Fill our private options into the command line
*/
/*
* Fill our private options into the command line
*/
-static
void
tb_prep_cmdline(void)
+static
int
tb_prep_cmdline(void)
{
{
-
/*
* tiobench uses size as MB, so multiply up
*/
/*
* tiobench uses size as MB, so multiply up
*/
@@
-96,6
+95,7
@@
static void tb_prep_cmdline(void)
sprintf(dir_idx, "directory=./");
sprintf(t_idx, "numjobs=%u", nthreads);
sprintf(dir_idx, "directory=./");
sprintf(t_idx, "numjobs=%u", nthreads);
+ return 0;
}
static struct profile_ops tiobench_profile = {
}
static struct profile_ops tiobench_profile = {