X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=profiles%2Fact.c;h=3fa5afacba415a8bd4cc65850b22553c12974c8e;hb=ae626d4ead6416adf464cf209cdf3e8b85d58190;hp=4669535a9906f6b0ac34b45842de72681e30e268;hpb=e6fe02651641fc64d2fa4fcfe9b1013b2947d11b;p=fio.git diff --git a/profiles/act.c b/profiles/act.c index 4669535a..3fa5afac 100644 --- a/profiles/act.c +++ b/profiles/act.c @@ -288,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;