Searched refs:cpu_top (Results 1 - 4 of 4) sorted by relevance
/linux-master/tools/power/cpupower/lib/ |
H A D | cpupower.c | 154 * Returns amount of cpus, negative on error, cpu_top must be 159 int get_cpu_topology(struct cpupower_topology *cpu_top) argument 163 cpu_top->core_info = malloc(sizeof(struct cpuid_core_info) * cpus); 164 if (cpu_top->core_info == NULL) 166 cpu_top->pkgs = cpu_top->cores = 0; 168 cpu_top->core_info[cpu].cpu = cpu; 169 cpu_top->core_info[cpu].is_online = cpupower_is_cpu_online(cpu); 173 &(cpu_top->core_info[cpu].pkg)) < 0) { 174 cpu_top 216 cpu_topology_release(struct cpupower_topology cpu_top) argument [all...] |
H A D | cpupower.h | 28 int get_cpu_topology(struct cpupower_topology *cpu_top); 29 void cpu_topology_release(struct cpupower_topology cpu_top);
|
/linux-master/tools/power/cpupower/utils/idle_monitor/ |
H A D | cpupower-monitor.c | 41 static struct cpupower_topology cpu_top; variable in typeref:struct:cpupower_topology 149 if (!bitmask_isbitset(cpus_chosen, cpu_top.core_info[cpu].cpu)) 151 if (!cpu_top.core_info[cpu].is_online && 152 cpu_top.core_info[cpu].pkg == -1) 156 printf("%4d|", cpu_top.core_info[cpu].pkg); 158 printf("%4d|", cpu_top.core_info[cpu].core); 160 printf("%4d|", cpu_top.core_info[cpu].cpu); 174 cpu_top.core_info[cpu].cpu); 183 cpu_top.core_info[cpu].cpu); 202 if (!cpu_top [all...] |
/linux-master/tools/power/x86/intel-speed-select/ |
H A D | isst-config.c | 244 struct cpu_topology cpu_top; local 252 ret = fseek(fp, cpu * sizeof(cpu_top), SEEK_SET); 256 ret = fread(&cpu_top, sizeof(cpu_top), 1, fp); 262 *pkg_id = cpu_top.pkg_id; 263 *core_id = cpu_top.core_id; 264 *die_id = cpu_top.die_id; 295 struct cpu_topology cpu_top; local 297 cpu_top.core_id = parse_int_file(0, 299 if (cpu_top [all...] |
Completed in 136 milliseconds