Searched refs:interval_float (Results 1 – 1 of 1) sorted by relevance
| /linux/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 3301 double interval_float, tsc; in format_counters() local 3340 interval_float = t->tv_delta.tv_sec + t->tv_delta.tv_usec / 1000000.0; in format_counters() 3402 …outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), 1.0 / units * t->aperf / interval_float); in format_counters() 3411 …intf(outp, "%s%.0f", (printed++ ? delim : ""), tsc / units * t->aperf / t->mperf / interval_float); in format_counters() 3415 outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), 1.0 * t->tsc / units / interval_float); in format_counters() 3442 …outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), t->llc.references / interval_float / 100… in format_counters() 3449 …outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), t->l2.references / interval_float / 1000… in format_counters() 3462 outp += print_float_value(&printed, delim, t->counter[i] / interval_float / 10000); in format_counters() 3476 outp += print_float_value(&printed, delim, t->perf_counter[i] / interval_float / 10000); in format_counters() 3492 value_converted = pct(value_raw / crystal_hz, interval_float); in format_counters() [all …]
|