Home
last modified time | relevance | path

Searched refs:end_cpu (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/tools/perf/lib/
Dcpumap.c160 unsigned long start_cpu, end_cpu = 0; in perf_cpu_map__new() local
187 end_cpu = strtoul(cpu_list, &p, 0); in perf_cpu_map__new()
189 if (end_cpu >= INT_MAX || (*p != '\0' && *p != ',')) in perf_cpu_map__new()
192 if (end_cpu < start_cpu) in perf_cpu_map__new()
195 end_cpu = start_cpu; in perf_cpu_map__new()
198 WARN_ONCE(end_cpu >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__new()
201 for (; start_cpu <= end_cpu; start_cpu++) { in perf_cpu_map__new()
/Linux-v5.4/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c395 int end_cpu; in parse_cmdline_cpu() local
398 end_cpu = strtol(startp, &endp, 10); in parse_cmdline_cpu()
402 while (cpu <= end_cpu) { in parse_cmdline_cpu()