Searched refs:cpu_top (Results 1 – 5 of 5) sorted by relevance
175 if (cpu_top->core_info == NULL) in get_cpu_topology()177 cpu_top->pkgs = cpu_top->cores = 0; in get_cpu_topology()179 cpu_top->core_info[cpu].cpu = cpu; in get_cpu_topology()185 cpu_top->core_info[cpu].pkg = -1; in get_cpu_topology()186 cpu_top->core_info[cpu].core = -1; in get_cpu_topology()193 cpu_top->core_info[cpu].pkg = -1; in get_cpu_topology()218 cpu_top->cores = 1; in get_cpu_topology()223 cpu_top->cores++; in get_cpu_topology()239 cpu_top->pkgs++; in get_cpu_topology()243 cpu_top->pkgs++; in get_cpu_topology()[all …]
31 int get_cpu_topology(struct cpupower_topology *cpu_top);32 void cpu_topology_release(struct cpupower_topology cpu_top);
42 static struct cpupower_topology cpu_top; variable162 cpu_top.core_info[cpu].pkg == -1) in print_results()189 cpu_top.core_info[cpu].cpu); in print_results()198 cpu_top.core_info[cpu].cpu); in print_results()418 if (!cpu_top.core_info[0].is_online) in cmd_monitor()444 cpu_topology_release(cpu_top); in cmd_monitor()450 cpu_topology_release(cpu_top); in cmd_monitor()458 cpu_top.pkgs, cpu_top.cores, cpu_count); in cmd_monitor()470 if (cpu_top.pkgs > 1) in cmd_monitor()476 if (cpu_top.pkgs > 1) in cmd_monitor()[all …]
269 ret = fread(&cpu_top, sizeof(cpu_top), 1, fp); in get_stored_topology_info()275 *pkg_id = cpu_top.pkg_id; in get_stored_topology_info()277 *die_id = cpu_top.die_id; in get_stored_topology_info()312 if (cpu_top.core_id < 0) in store_cpu_topology()313 cpu_top.core_id = -1; in store_cpu_topology()317 if (cpu_top.pkg_id < 0) in store_cpu_topology()318 cpu_top.pkg_id = -1; in store_cpu_topology()322 if (cpu_top.die_id < 0) in store_cpu_topology()323 cpu_top.die_id = -1; in store_cpu_topology()325 cpu_top.cpu = i; in store_cpu_topology()[all …]
205 int get_cpu_topology(struct cpupower_topology *cpu_top);207 void cpu_topology_release(struct cpupower_topology cpu_top);
Completed in 10 milliseconds