Searched refs:last_sec_cpu (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/tools/power/x86/amd_pstate_tracer/ |
D | amd_pstate_trace.py | 56 global sample_num, last_sec_cpu, last_usec_cpu, start_time, test_name, trace_file 61 last_sec_cpu = [0] * MAX_CPUS variable 189 global sample_num, last_sec_cpu, last_usec_cpu, start_time 223 if last_sec_cpu[cpu_int] == 0 : 224 last_sec_cpu[cpu_int] = time_pre_dec 227 …duration_us = (int(time_pre_dec) - int(last_sec_cpu[cpu_int])) * 1000000 + (int(time_post_dec) - i… 229 last_sec_cpu[cpu_int] = time_pre_dec
|
/linux-6.12.1/tools/power/x86/intel_pstate_tracer/ |
D | intel_pstate_tracer.py | 66 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
|