Home
last modified time | relevance | path

Searched refs:max_cpu_num (Results 1 – 3 of 3) sorted by relevance

/linux/tools/power/x86/x86_energy_perf_policy/
A Dx86_energy_perf_policy.c70 int max_cpu_num; variable
369 for (cpu = 0; cpu <= max_cpu_num; ++cpu) { in validate_cpu_selected_set()
385 cpu_selected_set = CPU_ALLOC((max_cpu_num + 1)); in parse_cmdline_cpu()
406 if (cpu > max_cpu_num) in parse_cmdline_cpu()
416 for (cpu = 0; cpu <= max_cpu_num; cpu += 1) { in parse_cmdline_cpu()
426 for (cpu = 0; cpu <= max_cpu_num; cpu += 2) { in parse_cmdline_cpu()
437 for (cpu = 1; cpu <= max_cpu_num; cpu += 2) { in parse_cmdline_cpu()
449 if (cpu > max_cpu_num) in parse_cmdline_cpu()
1251 if (max_cpu_num < cpu) in set_max_cpu_pkg_num()
1252 max_cpu_num = cpu; in set_max_cpu_pkg_num()
[all …]
/linux/tools/perf/util/
A Dcpumap.c16 static int max_cpu_num; variable
338 max_cpu_num = 4096; in set_max_cpu_num()
352 ret = get_max_num(path, &max_cpu_num); in set_max_cpu_num()
367 pr_err("Failed to read max cpus, using default of %d\n", max_cpu_num); in set_max_cpu_num()
408 if (unlikely(!max_cpu_num)) in cpu__max_cpu()
411 return max_cpu_num; in cpu__max_cpu()
440 cpunode_map = calloc(max_cpu_num, sizeof(int)); in init_cpunode_map()
446 for (i = 0; i < max_cpu_num; i++) in init_cpunode_map()
/linux/tools/power/x86/turbostat/
A Dturbostat.c419 int max_cpu_num; member
2761 for (i = 0; i <= topo.max_cpu_num; ++i) { in free_all_buffers()
2851 if (cpu_count >= topo.max_cpu_num) in set_node_data()
2863 for (i = 0; i <= topo.max_cpu_num; i++) { in get_physical_node_id()
2881 int offset = topo.max_cpu_num + 1; in get_thread_siblings()
3017 topo.max_cpu_num = 0; in set_max_cpu_num()
3019 topo.max_cpu_num += BITMASK_SIZE; in set_max_cpu_num()
3021 topo.max_cpu_num--; /* 0 based */ in set_max_cpu_num()
3071 if (cpu_number > topo.max_cpu_num) { in snapshot_proc_interrupts()
5665 for (i = 0; i <= topo.max_cpu_num; ++i) { in topology_probe()
[all …]

Completed in 19 milliseconds