Home
last modified time | relevance | path

Searched refs:time_post_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, %.2f, %.3f, %u, %.3f, %s\n" % (cpu_int, int(time_pre_dec), int(time_post_dec), int(min_perf…
209 time_post_dec = search_obj.group(8)
221 start_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000)
226 last_usec_cpu[cpu_int] = time_post_dec
228 …s = (int(time_pre_dec) - int(last_sec_cpu[cpu_int])) * 1000000 + (int(time_post_dec) - int(last_us…
231 last_usec_cpu[cpu_int] = time_post_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 … %.2f, %.3f, %u, %.3f, %.3f, %s\n" % (cpu_int, int(time_pre_dec), int(time_post_dec), int(core_bus…
443 time_post_dec = search_obj.group(8)
461 start_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000)
466 last_usec_cpu[cpu_int] = time_post_dec
468 …s = (int(time_pre_dec) - int(last_sec_cpu[cpu_int])) * 1000000 + (int(time_post_dec) - int(last_us…
471 last_usec_cpu[cpu_int] = time_post_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, …