Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/events/
H A Drapl.c135 static int rapl_hw_unit[NR_RAPL_DOMAINS] __read_mostly; variable
172 return v << (32 - rapl_hw_unit[cfg - 1]); in rapl_scale()
610 rapl_hw_unit[i] = (msr_rapl_power_unit_bits >> 8) & 0x1FULL; in rapl_check_hw_unit()
620 rapl_hw_unit[PERF_RAPL_RAM] = 16; in rapl_check_hw_unit()
624 rapl_hw_unit[PERF_RAPL_PSYS] = 0; in rapl_check_hw_unit()
639 if (rapl_hw_unit[0] < 32) { in rapl_check_hw_unit()
641 rapl_timer_ms *= (1ULL << (32 - rapl_hw_unit[0] - 1)); in rapl_check_hw_unit()
656 rapl_domain_names[i], rapl_hw_unit[i]); in rapl_advertise()