Searched refs:interval_float (Results 1 – 1 of 1) sorted by relevance
/tools/power/x86/turbostat/ |
D | turbostat.c | 422 double interval_float; in format_counters() local 433 interval_float = tv_delta.tv_sec + tv_delta.tv_usec/1000000.0; in format_counters() 463 1.0 / units * t->aperf / interval_float); in format_counters() 476 1.0 * t->tsc / units * t->aperf / t->mperf / interval_float); in format_counters() 479 outp += sprintf(outp, "%8.0f", 1.0 * t->tsc/units/interval_float); in format_counters() 546 if (interval_float < rapl_joule_counter_range) in format_counters() 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() [all …]
|