Lines Matching full:cpus
50 LIBPERF_API struct perf_cpu perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx);
55 * the result is the number CPUs in the map plus one if the
58 LIBPERF_API int perf_cpu_map__nr(const struct perf_cpu_map *cpus);
88 #define perf_cpu_map__for_each_cpu(cpu, idx, cpus) \ argument
89 for ((idx) = 0, (cpu) = perf_cpu_map__cpu(cpus, idx); \
90 (idx) < perf_cpu_map__nr(cpus); \
91 (idx)++, (cpu) = perf_cpu_map__cpu(cpus, idx))
93 #define perf_cpu_map__for_each_cpu_skip_any(_cpu, idx, cpus) \ argument
94 for ((idx) = 0, (_cpu) = perf_cpu_map__cpu(cpus, idx); \
95 (idx) < perf_cpu_map__nr(cpus); \
96 (idx)++, (_cpu) = perf_cpu_map__cpu(cpus, idx)) \
99 #define perf_cpu_map__for_each_idx(idx, cpus) \ argument
100 for ((idx) = 0; (idx) < perf_cpu_map__nr(cpus); (idx)++)