Home
last modified time | relevance | path

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

/linux-6.12.1/tools/power/x86/turbostat/
Dturbostat.c305 int *fd_instr_count_percpu; variable
2019 if (fd_instr_count_percpu[cpu]) in get_instr_count_fd()
2020 return fd_instr_count_percpu[cpu]; in get_instr_count_fd()
2022fd_instr_count_percpu[cpu] = open_perf_counter(cpu, PERF_TYPE_HARDWARE, PERF_COUNT_HW_INSTRUCTIONS… in get_instr_count_fd()
2024 return fd_instr_count_percpu[cpu]; in get_instr_count_fd()
5121 if (!fd_instr_count_percpu) in free_fd_instr_count_percpu()
5125 if (fd_instr_count_percpu[i] != 0) in free_fd_instr_count_percpu()
5126 close(fd_instr_count_percpu[i]); in free_fd_instr_count_percpu()
5129 free(fd_instr_count_percpu); in free_fd_instr_count_percpu()
5130 fd_instr_count_percpu = NULL; in free_fd_instr_count_percpu()
[all …]