Home
last modified time | relevance | path

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

/linux/tools/power/cpupower/lib/
A Dcpupower.c157 if (cpu_top->core_info == NULL) in get_cpu_topology()
159 cpu_top->pkgs = cpu_top->cores = 0; in get_cpu_topology()
161 cpu_top->core_info[cpu].cpu = cpu; in get_cpu_topology()
167 cpu_top->core_info[cpu].pkg = -1; in get_cpu_topology()
168 cpu_top->core_info[cpu].core = -1; in get_cpu_topology()
175 cpu_top->core_info[cpu].pkg = -1; in get_cpu_topology()
176 cpu_top->core_info[cpu].core = -1; in get_cpu_topology()
187 last_pkg = cpu_top->core_info[0].pkg; in get_cpu_topology()
193 cpu_top->pkgs++; in get_cpu_topology()
197 cpu_top->pkgs++; in get_cpu_topology()
[all …]
A Dcpupower.h28 int get_cpu_topology(struct cpupower_topology *cpu_top);
29 void cpu_topology_release(struct cpupower_topology cpu_top);
/linux/tools/power/cpupower/utils/idle_monitor/
A Dcpupower-monitor.c41 static struct cpupower_topology cpu_top; variable
151 if (!cpu_top.core_info[cpu].is_online && in print_results()
152 cpu_top.core_info[cpu].pkg == -1) in print_results()
174 cpu_top.core_info[cpu].cpu); in print_results()
183 cpu_top.core_info[cpu].cpu); in print_results()
203 cpu_top.core_info[cpu].pkg != -1) { in print_results()
400 if (!cpu_top.core_info[0].is_online) in cmd_monitor()
438 cpu_top.pkgs, cpu_top.cores, cpu_count); in cmd_monitor()
450 if (cpu_top.pkgs > 1) in cmd_monitor()
456 if (cpu_top.pkgs > 1) in cmd_monitor()
[all …]
/linux/tools/power/x86/intel-speed-select/
A Disst-config.c233 ret = fread(&cpu_top, sizeof(cpu_top), 1, fp); in get_stored_topology_info()
239 *pkg_id = cpu_top.pkg_id; in get_stored_topology_info()
241 *die_id = cpu_top.die_id; in get_stored_topology_info()
276 if (cpu_top.core_id < 0) in store_cpu_topology()
277 cpu_top.core_id = -1; in store_cpu_topology()
281 if (cpu_top.pkg_id < 0) in store_cpu_topology()
282 cpu_top.pkg_id = -1; in store_cpu_topology()
286 if (cpu_top.die_id < 0) in store_cpu_topology()
287 cpu_top.die_id = -1; in store_cpu_topology()
289 cpu_top.cpu = i; in store_cpu_topology()
[all …]

Completed in 13 milliseconds