Lines Matching defs:runtime
481 static unsigned long long dmatest_persec(s64 runtime, unsigned int val)
485 if (runtime <= 0)
488 /* drop precision until runtime is 32-bits */
489 while (runtime > UINT_MAX) {
490 runtime >>= 1;
496 do_div(per_sec, runtime);
501 static unsigned long long dmatest_KBs(s64 runtime, unsigned long long len)
503 return FIXPT_TO_INT(dmatest_persec(runtime, len >> 10));
591 s64 runtime = 0;
905 runtime = ktime_to_us(ktime);
918 iops = dmatest_persec(runtime, total_tests);
922 dmatest_KBs(runtime, total_len), ret);