Home
last modified time | relevance | path

Searched refs:rapl_hw_unit (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/arch/x86/events/intel/
Drapl.c136 static int rapl_hw_unit[NR_RAPL_DOMAINS] __read_mostly; variable
173 return v << (32 - rapl_hw_unit[cfg - 1]); in rapl_scale()
587 rapl_hw_unit[i] = (msr_rapl_power_unit_bits >> 8) & 0x1FULL; in rapl_check_hw_unit()
596 rapl_hw_unit[PERF_RAPL_RAM] = 16; in rapl_check_hw_unit()
606 if (rapl_hw_unit[0] < 32) { in rapl_check_hw_unit()
608 rapl_timer_ms *= (1ULL << (32 - rapl_hw_unit[0] - 1)); in rapl_check_hw_unit()
623 rapl_domain_names[i], rapl_hw_unit[i]); in rapl_advertise()