Home
last modified time | relevance | path

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

/openbmc/linux/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py57 global sample_num, last_sec_cpu, last_usec_cpu, start_time, test_name, trace_file
62 last_sec_cpu = [0] * MAX_CPUS variable
190 global sample_num, last_sec_cpu, last_usec_cpu, start_time
224 if last_sec_cpu[cpu_int] == 0 :
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
/openbmc/linux/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py66 global sample_num, last_sec_cpu, last_usec_cpu, start_time, testname, trace_file
72 last_sec_cpu = [0] * MAX_CPUS variable
424 global sample_num, last_sec_cpu, last_usec_cpu, start_time
464 if last_sec_cpu[cpu_int] == 0 :
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