Home
last modified time | relevance | path

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

/Linux-v6.1/tools/power/x86/turbostat/
Dturbostat.c210 int *fd_instr_count_percpu; variable
682 if (fd_instr_count_percpu[cpu]) in get_instr_count_fd()
683 return fd_instr_count_percpu[cpu]; in get_instr_count_fd()
685 fd_instr_count_percpu[cpu] = perf_instr_count_open(cpu); in get_instr_count_fd()
687 return fd_instr_count_percpu[cpu]; in get_instr_count_fd()
5506 fd_instr_count_percpu = calloc(topo.max_cpu_num + 1, sizeof(int)); in linux_perf_init()
5507 if (fd_instr_count_percpu == NULL) in linux_perf_init()