Home
last modified time | relevance | path

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

/linux/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py155 def store_csv(cpu_int, time_pre_dec, time_post_dec, min_perf, des_perf, max_perf, freq_ghz, mperf, aperf, tsc, common_comm, load, duration_ms, sample_num, elapsed_time, cpu_mask): argument
160 if cpu_mask[cpu_int] == 0:
165 string_buffer = "CPU_%03u, %05u, %06u, %u, %u, %u, %.4f, %u, %u, %u, %.2f, %.3f, %u, %.3f, %s\n" % (cpu_int, int(time_pre_dec), int(time_post_dec), int(min_perf), int(des_perf), int(max_perf), freq_ghz, int(mperf), int(aperf), int(tsc), load, duration_ms, sample_num, elapsed_time, common_comm)
204 cpu_int = int(cpu)
205 cpu = str(cpu_int)
223 if last_sec_cpu[cpu_int] == 0 :
224 last_sec_cpu[cpu_int] = time_pre_dec
225 last_usec_cpu[cpu_int] = time_post_dec
227 duration_us = (int(time_pre_dec) - int(last_sec_cpu[cpu_int])) * 1000000 + (int(time_post_dec) - int(last_usec_cpu[cpu_int]))
[all...]
/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
331 if cpu_mask[cpu_int] == 0:
336 …, %u, %u, %u, %u, %u, %u, %.4f, %u, %.2f, %.3f, %u, %.3f, %.3f, %s\n" % (cpu_int, int(time_pre_dec…
439 cpu_int = int(cpu)
440 cpu = str(cpu_int)
464 if last_sec_cpu[cpu_int] == 0 :
465 last_sec_cpu[cpu_int] = time_pre_dec
466 last_usec_cpu[cpu_int] = time_post_dec
468 … = (int(time_pre_dec) - int(last_sec_cpu[cpu_int])) * 1000000 + (int(time_post_dec) - int(last_use…
470 last_sec_cpu[cpu_int] = time_pre_dec
[all …]