Home
last modified time | relevance | path

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

/openbmc/linux/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py156 def store_csv(cpu_int, time_pre_dec, time_post_dec, min_perf, des_perf, max_perf, freq_ghz, mperf, … argument
166 …%u, %u, %.4f, %u, %u, %u, %.2f, %.3f, %u, %.3f, %s\n" % (cpu_int, int(time_pre_dec), int(time_post…
208 time_pre_dec = search_obj.group(6)
221 start_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000)
225 last_sec_cpu[cpu_int] = time_pre_dec
228 …duration_us = (int(time_pre_dec) - int(last_sec_cpu[cpu_int])) * 1000000 + (int(time_post_dec) - i…
230 last_sec_cpu[cpu_int] = time_pre_dec
232 … elapsed_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000) - start_time
235 …store_csv(cpu_int, time_pre_dec, time_post_dec, min_perf, des_perf, max_perf, freq_ghz, mperf, ape…
/openbmc/linux/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py326 def store_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, ts… argument
336 …, %u, %u, %.4f, %u, %.2f, %.3f, %u, %.3f, %.3f, %s\n" % (cpu_int, int(time_pre_dec), int(time_post…
442 time_pre_dec = search_obj.group(6)
461 start_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000)
465 last_sec_cpu[cpu_int] = time_pre_dec
468 …duration_us = (int(time_pre_dec) - int(last_sec_cpu[cpu_int])) * 1000000 + (int(time_post_dec) - i…
470 last_sec_cpu[cpu_int] = time_pre_dec
472 … elapsed_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000) - start_time
480 …store_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, …