Searched refs:interval_float (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/tools/power/x86/turbostat/ |
D | turbostat.c | 865 double interval_float, tsc; in format_counters() local 897 interval_float = tv_delta.tv_sec + tv_delta.tv_usec/1000000.0; in format_counters() 947 1.0 / units * t->aperf / interval_float); in format_counters() 957 tsc / units * t->aperf / t->mperf / interval_float); in format_counters() 961 outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), 1.0 * t->tsc/units/interval_float); in format_counters() 989 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), t->counter[i]/interval_float/10000); in format_counters() 1048 p->gfx_rc6_ms / 10.0 / interval_float); in format_counters() 1082 …sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * p->cpu_lpi / 1000000.0 / interval_float); in format_counters() 1084 …sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * p->sys_lpi / 1000000.0 / interval_float); in format_counters() 1090 if (interval_float < rapl_joule_counter_range) in format_counters() [all …]
|