Searched refs:nrcpus (Results 1 - 11 of 11) sorted by relevance

/linux-master/tools/perf/tests/
H A Dperf-record.c19 int i, cpu = -1, nrcpus = 1024; local
24 if (errno == EINVAL && nrcpus < (1024 << 8)) {
25 nrcpus = nrcpus << 2;
32 for (i = 0; i < nrcpus; i++) {
/linux-master/tools/perf/bench/
H A Dfutex-hash.c132 int nrcpus; local
177 nrcpus = perf_cpu_map__nr(cpu);
178 cpuset = CPU_ALLOC(nrcpus);
180 size = CPU_ALLOC_SIZE(nrcpus);
H A Dfutex-requeue.c128 int nrcpus = perf_cpu_map__nr(cpu); local
133 cpuset = CPU_ALLOC(nrcpus);
135 size = CPU_ALLOC_SIZE(nrcpus);
H A Dfutex-lock-pi.c125 int nrcpus = perf_cpu_map__nr(cpu); local
130 cpuset = CPU_ALLOC(nrcpus);
132 size = CPU_ALLOC_SIZE(nrcpus);
H A Dfutex-wake.c103 int nrcpus = perf_cpu_map__nr(cpu); local
106 cpuset = CPU_ALLOC(nrcpus);
108 size = CPU_ALLOC_SIZE(nrcpus);
H A Dfutex-wake-parallel.c152 int nrcpus = perf_cpu_map__nr(cpu); local
157 cpuset = CPU_ALLOC(nrcpus);
159 size = CPU_ALLOC_SIZE(nrcpus);
H A Depoll-wait.c298 int nrcpus; local
312 nrcpus = perf_cpu_map__nr(cpu);
313 cpuset = CPU_ALLOC(nrcpus);
315 size = CPU_ALLOC_SIZE(nrcpus);
H A Depoll-ctl.c229 int nrcpus; local
235 nrcpus = perf_cpu_map__nr(cpu);
236 cpuset = CPU_ALLOC(nrcpus);
238 size = CPU_ALLOC_SIZE(nrcpus);
H A Dnuma.c272 int nrcpus = numa_num_possible_cpus(); local
276 orig_mask = CPU_ALLOC(nrcpus);
278 size = CPU_ALLOC_SIZE(nrcpus);
284 mask = CPU_ALLOC(nrcpus);
319 int nrcpus = numa_num_possible_cpus(); local
324 orig_mask = CPU_ALLOC(nrcpus);
326 size = CPU_ALLOC_SIZE(nrcpus);
332 mask = CPU_ALLOC(nrcpus);
/linux-master/kernel/
H A Dsmp.c935 static int __init nrcpus(char *str) function
945 early_param("nr_cpus", nrcpus);
/linux-master/tools/perf/util/
H A Dheader.c1667 fprintf(fp, "# nrcpus online : %u\n", ff->ph->env.nr_cpus_online);
1668 fprintf(fp, "# nrcpus avail : %u\n", ff->ph->env.nr_cpus_avail);
3441 FEAT_OPR(NRCPUS, nrcpus, false),

Completed in 118 milliseconds