Lines Matching refs:ccstate_counter_info
1282 struct cstate_counter_info_t *ccstate_counter_info; variable
4237 assert(ccstate_counter_info); in get_cstate_counters()
4244 cci = &ccstate_counter_info[cpu]; in get_cstate_counters()
5135 if (!ccstate_counter_info) in free_fd_cstate()
5141 if (ccstate_counter_info[counter_id].fd_perf_core != -1) in free_fd_cstate()
5142 close(ccstate_counter_info[counter_id].fd_perf_core); in free_fd_cstate()
5144 if (ccstate_counter_info[counter_id].fd_perf_pkg != -1) in free_fd_cstate()
5145 close(ccstate_counter_info[counter_id].fd_perf_pkg); in free_fd_cstate()
5148 free(ccstate_counter_info); in free_fd_cstate()
5149 ccstate_counter_info = NULL; in free_fd_cstate()
7781 ccstate_counter_info = calloc(cci_num, sizeof(*ccstate_counter_info)); in cstate_perf_init_()
7782 if (!ccstate_counter_info) in cstate_perf_init_()
7796 ccstate_counter_info[cpu].fd_perf_core = -1; in cstate_perf_init_()
7797 ccstate_counter_info[cpu].fd_perf_pkg = -1; in cstate_perf_init_()
7809 struct cstate_counter_info_t *const cci = &ccstate_counter_info[cpu]; in cstate_perf_init_()