Searched refs:core_info (Results 1 – 3 of 3) sorted by relevance
136 cpu_top->core_info = malloc(sizeof(struct cpuid_core_info) * cpus); in get_cpu_topology()137 if (cpu_top->core_info == NULL) in get_cpu_topology()141 cpu_top->core_info[cpu].cpu = cpu; in get_cpu_topology()142 cpu_top->core_info[cpu].is_online = cpupower_is_cpu_online(cpu); in get_cpu_topology()146 &(cpu_top->core_info[cpu].pkg)) < 0) { in get_cpu_topology()147 cpu_top->core_info[cpu].pkg = -1; in get_cpu_topology()148 cpu_top->core_info[cpu].core = -1; in get_cpu_topology()154 &(cpu_top->core_info[cpu].core)) < 0) { in get_cpu_topology()155 cpu_top->core_info[cpu].pkg = -1; in get_cpu_topology()156 cpu_top->core_info[cpu].core = -1; in get_cpu_topology()[all …]
12 struct cpuid_core_info *core_info; member
146 if (!bitmask_isbitset(cpus_chosen, cpu_top.core_info[cpu].cpu)) in print_results()148 if (!cpu_top.core_info[cpu].is_online && in print_results()149 cpu_top.core_info[cpu].pkg == -1) in print_results()153 printf("%4d|", cpu_top.core_info[cpu].pkg); in print_results()155 printf("%4d|", cpu_top.core_info[cpu].core); in print_results()157 printf("%4d|", cpu_top.core_info[cpu].cpu); in print_results()171 cpu_top.core_info[cpu].cpu); in print_results()180 cpu_top.core_info[cpu].cpu); in print_results()199 if (!cpu_top.core_info[cpu].is_online && in print_results()200 cpu_top.core_info[cpu].pkg != -1) { in print_results()[all …]