Home
last modified time | relevance | path

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

/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/tools/power/x86/intel-speed-select/
A Disst-config.c235 ret = fread(&cpu_top, sizeof(cpu_top), 1, fp); in get_stored_topology_info()
241 *pkg_id = cpu_top.pkg_id; in get_stored_topology_info()
243 *die_id = cpu_top.die_id; in get_stored_topology_info()
278 if (cpu_top.core_id < 0) in store_cpu_topology()
279 cpu_top.core_id = -1; in store_cpu_topology()
283 if (cpu_top.pkg_id < 0) in store_cpu_topology()
284 cpu_top.pkg_id = -1; in store_cpu_topology()
288 if (cpu_top.die_id < 0) in store_cpu_topology()
289 cpu_top.die_id = -1; in store_cpu_topology()
291 cpu_top.cpu = i; in store_cpu_topology()
[all …]

Completed in 13 milliseconds