projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://github.com/bvanassche/fio
[fio.git]
/
profiles
/
act.c
diff --git
a/profiles/act.c
b/profiles/act.c
index cc1455db10bee0d8cbc375cb2e41cdab8e250f6d..3fa5afacba415a8bd4cc65850b22553c12974c8e 100644
(file)
--- a/
profiles/act.c
+++ b/
profiles/act.c
@@
-89,6
+89,7
@@
static struct fio_option options[] = {
.help = "Devices to use",
.category = FIO_OPT_C_PROFILE,
.group = FIO_OPT_G_ACT,
.help = "Devices to use",
.category = FIO_OPT_C_PROFILE,
.group = FIO_OPT_G_ACT,
+ .no_free = true,
},
{
.name = "load",
},
{
.name = "load",
@@
-287,10
+288,11
@@
static int act_prep_cmdline(void)
return 0;
}
return 0;
}
-static int act_io_u_lat(struct thread_data *td, uint64_t
u
sec)
+static int act_io_u_lat(struct thread_data *td, uint64_t
n
sec)
{
struct act_prof_data *apd = td->prof_data;
struct act_slice *slice;
{
struct act_prof_data *apd = td->prof_data;
struct act_slice *slice;
+ uint64_t usec = nsec / 1000ULL;
int i, ret = 0;
double perm;
int i, ret = 0;
double perm;