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
1368 outp += sprintf(outp, fmt8, (printed++ ? delim : ""), p->energy_pkg * rapl_energy_units); in format_counters()
4560 static double rapl_dram_energy_units_probe(int model, double rapl_energy_units) in rapl_dram_energy_units_probe() argument
4572 return (rapl_energy_units); in rapl_dram_energy_units_probe()
4728 rapl_energy_units = 1.0 * (1 << (msr >> 8 & 0x1F)) / 1000000; in rapl_probe_intel()
4730 rapl_energy_units = 1.0 / (1 << (msr >> 8 & 0x1F)); in rapl_probe_intel()
4732 rapl_dram_energy_units = rapl_dram_energy_units_probe(model, rapl_energy_units); in rapl_probe_intel()
4742 rapl_joule_counter_range = 0xFFFFFFFF * rapl_energy_units / tdp; in rapl_probe_intel()
4778 rapl_energy_units = ldexp(1.0, -(msr >> 8 & 0x1f)); in rapl_probe_amd()
4783 rapl_joule_counter_range = 0xFFFFFFFF * rapl_energy_units / tdp; in rapl_probe_amd()
[all …]