Home
last modified time | relevance | path

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

/linux/tools/power/x86/turbostat/
H A Dturbostat.c532 double rapl_power_units, rapl_time_units; variable
7720 return ((msr >> 0) & RAPL_POWER_GRANULARITY) * rapl_power_units; in get_tdp_intel()
7761 rapl_power_units = 1.0 / (1 << (msr & 0xF)); in rapl_probe_intel()
7811 rapl_power_units = ldexp(1.0, -(msr & 0xf)); in rapl_probe_amd()
7825 ((msr >> 0) & 0x7FFF) * rapl_power_units, in print_power_limit_msr()
8015 …%s: 0x%08llx (%f Watts, %f Joules, %f sec.)\n", cpu, msr_name, msr, rapl_power_units, rapl_energy_… in print_rapl()
8024 ((msr >> 0) & RAPL_POWER_GRANULARITY) * rapl_power_units, in print_rapl()
8025 ((msr >> 16) & RAPL_POWER_GRANULARITY) * rapl_power_units, in print_rapl()
8026 …((msr >> 32) & RAPL_POWER_GRANULARITY) * rapl_power_units, ((msr >> 48) & RAPL_TIME_GRANULARITY) *… in print_rapl()
8040 ((msr >> 32) & 0x7FFF) * rapl_power_units, in print_rapl()
[all …]