Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/events/intel/
Drapl.c156 static int rapl_hw_unit[NR_RAPL_DOMAINS] __read_mostly; variable
192 return v << (32 - rapl_hw_unit[cfg - 1]); in rapl_scale()
632 rapl_hw_unit[i] = (msr_rapl_power_unit_bits >> 8) & 0x1FULL; in rapl_check_hw_unit()
641 rapl_hw_unit[RAPL_IDX_RAM_NRG_STAT] = 16; in rapl_check_hw_unit()
651 if (rapl_hw_unit[0] < 32) { in rapl_check_hw_unit()
653 rapl_timer_ms *= (1ULL << (32 - rapl_hw_unit[0] - 1)); in rapl_check_hw_unit()
668 rapl_domain_names[i], rapl_hw_unit[i]); in rapl_advertise()