Lines Matching defs:runtime
488 static unsigned long long dmatest_persec(s64 runtime, unsigned int val)
492 if (runtime <= 0)
495 /* drop precision until runtime is 32-bits */
496 while (runtime > UINT_MAX) {
497 runtime >>= 1;
503 do_div(per_sec, runtime);
508 static unsigned long long dmatest_KBs(s64 runtime, unsigned long long len)
510 return FIXPT_TO_INT(dmatest_persec(runtime, len >> 10));
598 s64 runtime = 0;
919 runtime = ktime_to_us(ktime);
932 iops = dmatest_persec(runtime, total_tests);
936 dmatest_KBs(runtime, total_len), ret);