Lines Matching full:dt
55 ktime_t dt[5]; in measure_clocks() local
62 dt[i] = ktime_get(); in measure_clocks()
67 dt[i] = ktime_sub(ktime_get(), dt[i]); in measure_clocks()
71 /* Use the median of both cycle/dt; close enough */ in measure_clocks()
75 sort(dt, 5, sizeof(*dt), cmp_u64, NULL); in measure_clocks()
76 *out_dt = div_u64(dt[1] + 2 * dt[2] + dt[3], 4); in measure_clocks()
102 u64 dt; in live_gt_clocks() local
107 measure_clocks(engine, &cycles, &dt); in live_gt_clocks()
110 expected = intel_gt_ns_to_clock_interval(engine->gt, dt); in live_gt_clocks()
113 engine->name, cycles, time, dt, expected, in live_gt_clocks()
116 if (9 * time < 8 * dt || 8 * time > 9 * dt) { in live_gt_clocks()