Home
last modified time | relevance | path

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

/linux/arch/x86/events/
H A Drapl.c163 static int rapl_pkg_hw_unit[NR_RAPL_PKG_DOMAINS] __read_mostly; variable
202 int hw_unit = rapl_pkg_hw_unit[event->hw.config - 1]; in rapl_scale()
618 rapl_pkg_hw_unit[i] = (msr_rapl_power_unit_bits >> 8) & 0x1FULL; in rapl_check_hw_unit()
630 rapl_pkg_hw_unit[PERF_RAPL_RAM] = 16; in rapl_check_hw_unit()
634 rapl_pkg_hw_unit[PERF_RAPL_PSYS] = 0; in rapl_check_hw_unit()
648 if (rapl_pkg_hw_unit[0] < 32) { in rapl_check_hw_unit()
650 rapl_timer_ms *= (1ULL << (32 - rapl_pkg_hw_unit[0] - 1)); in rapl_check_hw_unit()
669 rapl_pkg_domain_names[i], rapl_pkg_hw_unit[i]); in rapl_advertise()