Home
last modified time | relevance | path

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

/tools/power/x86/turbostat/
Dturbostat.c82 double rapl_power_units, rapl_energy_units, rapl_time_units; variable
553 outp += sprintf(outp, fmt8, p->energy_pkg * rapl_energy_units / interval_float); in format_counters()
555 outp += sprintf(outp, fmt8, p->energy_cores * rapl_energy_units / interval_float); in format_counters()
557 outp += sprintf(outp, fmt8, p->energy_gfx * rapl_energy_units / interval_float); in format_counters()
559 outp += sprintf(outp, fmt8, p->energy_dram * rapl_energy_units / interval_float); in format_counters()
567 p->energy_pkg * rapl_energy_units); in format_counters()
570 p->energy_cores * rapl_energy_units); in format_counters()
573 p->energy_gfx * rapl_energy_units); in format_counters()
576 p->energy_dram * rapl_energy_units); in format_counters()
1637 rapl_energy_units = 1.0 * (1 << (msr >> 8 & 0x1F)) / 1000000; in rapl_probe()
[all …]