Searched refs:rapl_power_units (Results 1 – 1 of 1) sorted by relevance
| /linux/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 535 double rapl_power_units, rapl_time_units; variable 7735 return ((msr >> 0) & RAPL_POWER_GRANULARITY) * rapl_power_units; in get_tdp_intel() 7776 rapl_power_units = 1.0 / (1 << (msr & 0xF)); in rapl_probe_intel() 7826 rapl_power_units = ldexp(1.0, -(msr & 0xf)); in rapl_probe_amd() 7840 ((msr >> 0) & 0x7FFF) * rapl_power_units, in print_power_limit_msr() 8030 …%s: 0x%08llx (%f Watts, %f Joules, %f sec.)\n", cpu, msr_name, msr, rapl_power_units, rapl_energy_… in print_rapl() 8039 ((msr >> 0) & RAPL_POWER_GRANULARITY) * rapl_power_units, in print_rapl() 8040 ((msr >> 16) & RAPL_POWER_GRANULARITY) * rapl_power_units, in print_rapl() 8041 …((msr >> 32) & RAPL_POWER_GRANULARITY) * rapl_power_units, ((msr >> 48) & RAPL_TIME_GRANULARITY) *… in print_rapl() 8055 ((msr >> 32) & 0x7FFF) * rapl_power_units, in print_rapl() [all …]
|