Lines Matching full:dt
43 ktime_t dt[5]; in measure_clocks() local
50 dt[i] = ktime_get(); in measure_clocks()
54 dt[i] = ktime_sub(ktime_get(), dt[i]); in measure_clocks()
59 /* Use the median of both cycle/dt; close enough */ in measure_clocks()
63 sort(dt, 5, sizeof(*dt), cmp_u64, NULL); in measure_clocks()
64 *out_dt = div_u64(dt[1] + 2 * dt[2] + dt[3], 4); in measure_clocks()
108 u64 dt; in live_gt_clocks() local
113 measure_clocks(engine, &cycles, &dt); in live_gt_clocks()
116 expected = i915_cs_timestamp_ns_to_ticks(engine->i915, dt); in live_gt_clocks()
119 engine->name, cycles, time, dt, expected, in live_gt_clocks()
122 if (9 * time < 8 * dt || 8 * time > 9 * dt) { in live_gt_clocks()