X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=profiles%2Fact.c;h=3fa5afacba415a8bd4cc65850b22553c12974c8e;hb=c4bf91427a4fd1fbdb662667307189eabacf45b5;hp=cc1455db10bee0d8cbc375cb2e41cdab8e250f6d;hpb=dae887f3e2ac761886980cd3197522f3be46082d;p=fio.git diff --git a/profiles/act.c b/profiles/act.c index cc1455db..3fa5afac 100644 --- 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, + .no_free = true, }, { .name = "load", @@ -287,10 +288,11 @@ static int act_prep_cmdline(void) return 0; } -static int act_io_u_lat(struct thread_data *td, uint64_t usec) +static int act_io_u_lat(struct thread_data *td, uint64_t nsec) { struct act_prof_data *apd = td->prof_data; struct act_slice *slice; + uint64_t usec = nsec / 1000ULL; int i, ret = 0; double perm;