Searched refs:max_cpu_num (Results 1 - 3 of 3) sorted by path

/linux-master/tools/perf/util/
H A Dcpumap.c17 static struct perf_cpu max_cpu_num; variable in typeref:struct:perf_cpu
435 max_cpu_num.cpu = 4096;
449 ret = get_max_num(path, &max_cpu_num.cpu);
464 pr_err("Failed to read max cpus, using default of %d\n", max_cpu_num.cpu);
505 if (unlikely(!max_cpu_num.cpu))
508 return max_cpu_num;
537 cpunode_map = calloc(max_cpu_num.cpu, sizeof(int));
543 for (i = 0; i < max_cpu_num.cpu; i++)
/linux-master/tools/power/x86/turbostat/
H A Dturbostat.c1632 int max_cpu_num;
4463 for (i = 0; i < topo.max_cpu_num + 1; ++i) {
4479 for (i = 0; i < topo.max_cpu_num + 1; ++i) {
4496 for (int i = 0; i < topo.max_cpu_num + 1; ++i) {
4591 for (i = 0; i <= topo.max_cpu_num; ++i) {
4652 for (cpu = 0; cpu <= topo.max_cpu_num; ++cpu)
4658 for (cpu = 0; cpu <= topo.max_cpu_num; ++cpu) {
4671 for (cpux = cpu; cpux <= topo.max_cpu_num; cpux++) {
4681 if (cpu_count >= topo.max_cpu_num)
4693 for (i = 0; i <= topo.max_cpu_num;
1417 int max_cpu_num; member in struct:topo_params
[all...]
/linux-master/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c70 int max_cpu_num; variable
369 for (cpu = 0; cpu <= max_cpu_num; ++cpu) {
385 cpu_selected_set = CPU_ALLOC((max_cpu_num + 1));
406 if (cpu > max_cpu_num)
407 errx(1, "Requested cpu%d exceeds max cpu%d", cpu, max_cpu_num);
416 for (cpu = 0; cpu <= max_cpu_num; cpu += 1) {
426 for (cpu = 0; cpu <= max_cpu_num; cpu += 2) {
437 for (cpu = 1; cpu <= max_cpu_num; cpu += 2) {
449 if (cpu > max_cpu_num)
450 errx(1, "Requested cpu%d exceeds max cpu%d", cpu, max_cpu_num);
[all...]

Completed in 422 milliseconds