Searched refs:cpu_allowed_set (Results 1 – 1 of 1) sorted by relevance
/linux/tools/power/x86/turbostat/ |
H A D | turbostat.c | 1097 cpu_set_t *cpu_present_set, *cpu_effective_set, *cpu_allowed_set, *cpu_affinity_set, *cpu_subset; variable 1934 return !CPU_ISSET_S(cpu, cpu_allowed_setsize, cpu_allowed_set); in cpu_is_not_allowed() 5301 CPU_FREE(cpu_allowed_set); in free_all_buffers() 5302 cpu_allowed_set = NULL; in free_all_buffers() 8339 cpu_allowed_set = CPU_ALLOC((topo.max_cpu_num + 1)); in topology_probe() 8340 if (cpu_allowed_set == NULL) in topology_probe() 8343 CPU_ZERO_S(cpu_allowed_setsize, cpu_allowed_set); in topology_probe() 8376 CPU_SET_S(i, cpu_allowed_setsize, cpu_allowed_set); in topology_probe() 8379 if (!CPU_COUNT_S(cpu_allowed_setsize, cpu_allowed_set)) in topology_probe() 8381 sched_setaffinity(0, cpu_allowed_setsize, cpu_allowed_set); in topology_probe()
|