Home
last modified time | relevance | path

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

/openbmc/linux/tools/power/x86/turbostat/
H A Dturbostat.c212 int *fd_instr_count_percpu; variable
685 if (fd_instr_count_percpu[cpu]) in get_instr_count_fd()
686 return fd_instr_count_percpu[cpu]; in get_instr_count_fd()
688 fd_instr_count_percpu[cpu] = perf_instr_count_open(cpu); in get_instr_count_fd()
690 return fd_instr_count_percpu[cpu]; in get_instr_count_fd()
5511 fd_instr_count_percpu = calloc(topo.max_cpu_num + 1, sizeof(int)); in linux_perf_init()
5512 if (fd_instr_count_percpu == NULL) in linux_perf_init()