Searched refs:interval_float (Results  1 – 1 of 1) sorted by relevance
| /Linux-v5.10/tools/power/x86/turbostat/ | 
| D | turbostat.c | 1002 	double interval_float, tsc;  in format_counters()  local1034 	interval_float = t->tv_delta.tv_sec + t->tv_delta.tv_usec/1000000.0;  in format_counters()
 1092 			1.0 / units * t->aperf / interval_float);  in format_counters()
 1102 				tsc / units * t->aperf / t->mperf / interval_float);  in format_counters()
 1106 		outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), 1.0 * t->tsc/units/interval_float);  in format_counters()
 1134 				outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), t->counter[i]/interval_float/10000);  in format_counters()
 1182 …sprintf(outp, fmt8, (printed++ ? delim : ""), c->core_energy * rapl_energy_units / interval_float);  in format_counters()
 1200 				p->gfx_rc6_ms / 10.0 / interval_float);  in format_counters()
 1238 …sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * p->cpu_lpi / 1000000.0 / interval_float);  in format_counters()
 1240 …sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * p->sys_lpi / 1000000.0 / interval_float);  in format_counters()
 [all …]
 
 |