Home
last modified time | relevance | path

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

/linux/tools/power/x86/turbostat/
H A Dturbostat.c535 double rapl_power_units, rapl_time_units; variable
1615 .platform_rapl_msr_scale = &rapl_time_units,
1628 .platform_rapl_msr_scale = &rapl_time_units,
7796 rapl_time_units = 1.0 / (1 << (time_unit)); in rapl_probe_intel()
7824 rapl_time_units = ldexp(1.0, -(msr >> 16 & 0xf)); in rapl_probe_amd()
7841 …(1.0 + (((msr >> 22) & 0x3) / 4.0)) * (1 << ((msr >> 17) & 0x1F)) * rapl_time_units, (((msr >> 16)… in print_power_limit_msr()
8030 … %f Joules, %f sec.)\n", cpu, msr_name, msr, rapl_power_units, rapl_energy_units, rapl_time_units); in print_rapl()
8041 …PL_POWER_GRANULARITY) * rapl_power_units, ((msr >> 48) & RAPL_TIME_GRANULARITY) * rapl_time_units); in print_rapl()
8056 …(1.0 + (((msr >> 54) & 0x3) / 4.0)) * (1 << ((msr >> 49) & 0x1F)) * rapl_time_units, ((msr >> 48) … in print_rapl()
8073 …PL_POWER_GRANULARITY) * rapl_power_units, ((msr >> 48) & RAPL_TIME_GRANULARITY) * rapl_time_units); in print_rapl()