Searched refs:rapl_power_units (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-6.6/tools/power/x86/turbostat/ |
H A D | turbostat.c | 265 double rapl_power_units, rapl_time_units; variable 4534 return ((msr >> 0) & RAPL_POWER_GRANULARITY) * rapl_power_units; in get_tdp_intel() 4723 rapl_power_units = 1.0 / (1 << (msr & 0xF)); in rapl_probe_intel() 4776 rapl_power_units = ldexp(1.0, -(msr & 0xf)); in rapl_probe_amd() 4788 * sets do_rapl, rapl_power_units, rapl_energy_units, rapl_time_units 4905 ((msr >> 0) & 0x7FFF) * rapl_power_units, in print_power_limit_msr() 4945 rapl_power_units, rapl_energy_units, rapl_time_units); in print_rapl() 4954 ((msr >> 0) & RAPL_POWER_GRANULARITY) * rapl_power_units, in print_rapl() 4955 ((msr >> 16) & RAPL_POWER_GRANULARITY) * rapl_power_units, in print_rapl() 4956 ((msr >> 32) & RAPL_POWER_GRANULARITY) * rapl_power_units, in print_rapl() [all...] |
/kernel/linux/linux-5.10/tools/power/x86/turbostat/ |
H A D | turbostat.c | 85 double rapl_power_units, rapl_time_units; variable 4162 return ((msr >> 0) & RAPL_POWER_GRANULARITY) * rapl_power_units; in get_tdp_intel() 4337 rapl_power_units = 1.0 / (1 << (msr & 0xF)); in rapl_probe_intel() 4388 rapl_power_units = ldexp(1.0, -(msr & 0xf)); in rapl_probe_amd() 4400 * sets do_rapl, rapl_power_units, rapl_energy_units, rapl_time_units 4503 ((msr >> 0) & 0x7FFF) * rapl_power_units, in print_power_limit_msr() 4540 rapl_power_units, rapl_energy_units, rapl_time_units); in print_rapl() 4550 ((msr >> 0) & RAPL_POWER_GRANULARITY) * rapl_power_units, in print_rapl() 4551 ((msr >> 16) & RAPL_POWER_GRANULARITY) * rapl_power_units, in print_rapl() 4552 ((msr >> 32) & RAPL_POWER_GRANULARITY) * rapl_power_units, in print_rapl() [all...] |
Completed in 12 milliseconds