Searched refs:last_sec_cpu (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/power/x86/amd_pstate_tracer/ |
D | amd_pstate_trace.py | 57 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
|
/linux-6.1.9/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
|