Searched refs:rapl_hw_unit (Results 1 – 1 of 1) sorted by relevance
128 static int rapl_hw_unit[NR_RAPL_DOMAINS] __read_mostly; /* 1/2^hw_unit Joule */ variable165 return v << (32 - rapl_hw_unit[cfg - 1]); in rapl_scale()588 rapl_hw_unit[RAPL_IDX_RAM_NRG_STAT] = 16; in rapl_hsw_server_quirk()619 if (rapl_hw_unit[0] < 32) in rapl_cpu_prepare()620 ms = (1000 / (2 * 100)) * (1ULL << (32 - rapl_hw_unit[0] - 1)); in rapl_cpu_prepare()697 rapl_hw_unit[i] = (msr_rapl_power_unit_bits >> 8) & 0x1FULL; in rapl_check_hw_unit()788 rapl_domain_names[i], rapl_hw_unit[i]); in rapl_pmu_init()