Lines Matching full:duration
44 u64 duration; member
52 int duration; /* ms */ member
78 u64 duration; member
235 item->duration = (u64) ktime_us_delta(ktime_get(), start); in ot_thread_worker()
242 static void ot_perf_report(struct ot_test *test, u64 duration) in ot_perf_report() argument
252 if (!item->duration) in ot_perf_report()
258 pr_info("CPU: %d duration: %lluus\n", cpu, item->duration); in ot_perf_report()
272 pr_info("ALL: \tnthreads: %d duration: %lluus\n", nthreads, duration); in ot_perf_report()
277 test->data.duration = duration; in ot_perf_report()
352 u64 duration; in ot_start_sync() local
397 /* yeild cpu to worker threads for duration ms */ in ot_start_sync()
398 timeout = msecs_to_jiffies(test->duration); in ot_start_sync()
406 duration = (u64) ktime_us_delta(ktime_get(), start); in ot_start_sync()
412 ot_perf_report(test, duration); in ot_start_sync()
543 u64 duration; in ot_start_async() local
586 /* yeild cpu to worker threads for duration ms */ in ot_start_async()
587 timeout = msecs_to_jiffies(test->duration); in ot_start_async()
598 duration = (u64) ktime_us_delta(ktime_get(), start); in ot_start_async()
609 ot_perf_report(test, duration); in ot_start_async()
624 * duration: int, total test time in ms
675 pr_info(" duration: %lluus \thits: %10lu \tmiss: %10lu \t%s\n", in ot_mod_init()
676 g_testcases[i].data.duration, g_testcases[i].data.objects.nhits, in ot_mod_init()