Searched refs:max_cx_num (Results 1 – 1 of 1) sorted by relevance
144 int max_cx_num = 0; in get_cxstat_by_cpuid() local146 ret = xc_pm_get_max_cx(xc_handle, cpuid, &max_cx_num); in get_cxstat_by_cpuid()153 if ( !max_cx_num ) in get_cxstat_by_cpuid()156 cxstat->triggers = calloc(max_cx_num, sizeof(*cxstat->triggers)); in get_cxstat_by_cpuid()157 cxstat->residencies = calloc(max_cx_num, sizeof(*cxstat->residencies)); in get_cxstat_by_cpuid()170 cxstat->nr = max_cx_num; in get_cxstat_by_cpuid()
Completed in 4 milliseconds