From: Song Liu Date: Mon, 18 May 2020 05:46:21 +0000 (-0700) Subject: init: fix unit of latency_window X-Git-Tag: fio-3.21~32^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=2e3fb343ec883674a4927f2da983759bf90a0671;p=fio.git init: fix unit of latency_window latency_window has unit of microseconds, and is compared against usec_window. Therefore, there is no need to fix it up to nanoseconds. Signed-off-by: Song Liu --- diff --git a/init.c b/init.c index b5315334..0431f700 100644 --- a/init.c +++ b/init.c @@ -956,7 +956,6 @@ static int fixup_options(struct thread_data *td) */ o->max_latency *= 1000ULL; o->latency_target *= 1000ULL; - o->latency_window *= 1000ULL; return ret; }