Home
last modified time | relevance | path

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

/openbmc/linux/tools/power/x86/turbostat/
H A Dturbostat.c268 double rapl_dram_energy_units, rapl_energy_units; variable
1369 outp += sprintf(outp, fmt8, (printed++ ? delim : ""), p->energy_pkg * rapl_energy_units); in format_counters()
4561 static double rapl_dram_energy_units_probe(int model, double rapl_energy_units) in rapl_dram_energy_units_probe() argument
4573 return (rapl_energy_units); in rapl_dram_energy_units_probe()
4729 rapl_energy_units = 1.0 * (1 << (msr >> 8 & 0x1F)) / 1000000; in rapl_probe_intel()
4731 rapl_energy_units = 1.0 / (1 << (msr >> 8 & 0x1F)); in rapl_probe_intel()
4733 rapl_dram_energy_units = rapl_dram_energy_units_probe(model, rapl_energy_units); in rapl_probe_intel()
4743 rapl_joule_counter_range = 0xFFFFFFFF * rapl_energy_units / tdp; in rapl_probe_intel()
4779 rapl_energy_units = ldexp(1.0, -(msr >> 8 & 0x1f)); in rapl_probe_amd()
4784 rapl_joule_counter_range = 0xFFFFFFFF * rapl_energy_units / tdp; in rapl_probe_amd()
[all …]