Searched refs:cycles_ (Results 1 – 1 of 1) sorted by relevance
297 u32 cycles_[5]; in live_rps_clock_interval() local303 cycles_[i] = -intel_uncore_read_fw(gt->uncore, GEN6_RP_CUR_UP_EI); in live_rps_clock_interval()308 cycles_[i] += intel_uncore_read_fw(gt->uncore, GEN6_RP_CUR_UP_EI); in live_rps_clock_interval()315 sort(cycles_, 5, sizeof(*cycles_), cmp_u32, NULL); in live_rps_clock_interval()316 cycles = (cycles_[1] + 2 * cycles_[2] + cycles_[3]) / 4; in live_rps_clock_interval()