Home
last modified time | relevance | path

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

/linux-6.12.1/tools/power/x86/turbostat/
Dturbostat.c345 double rapl_power_units, rapl_time_units; variable
6900 return ((msr >> 0) & RAPL_POWER_GRANULARITY) * rapl_power_units; in get_tdp_intel()
6931 rapl_power_units = 1.0 / (1 << (msr & 0xF)); in rapl_probe_intel()
6972 rapl_power_units = ldexp(1.0, -(msr & 0xf)); in rapl_probe_amd()
6986 ((msr >> 0) & 0x7FFF) * rapl_power_units, in print_power_limit_msr()
7026 rapl_power_units, rapl_energy_units, rapl_time_units); in print_rapl()
7035 ((msr >> 0) & RAPL_POWER_GRANULARITY) * rapl_power_units, in print_rapl()
7036 ((msr >> 16) & RAPL_POWER_GRANULARITY) * rapl_power_units, in print_rapl()
7037 ((msr >> 32) & RAPL_POWER_GRANULARITY) * rapl_power_units, in print_rapl()
7053 ((msr >> 32) & 0x7FFF) * rapl_power_units, in print_rapl()
[all …]