Home
last modified time | relevance | path

Searched refs:nrcpus (Results 1 – 8 of 8) sorted by relevance

/linux/tools/perf/tests/
H A Dperf-record.c21 int nrcpus = cpu__max_cpu().cpu; in sched__get_first_possible_cpu() local
22 size_t size = CPU_ALLOC_SIZE(nrcpus); in sched__get_first_possible_cpu()
28 if (errno == EINVAL && nrcpus < (cpu__max_cpu().cpu << 8)) { in sched__get_first_possible_cpu()
29 nrcpus = nrcpus << 2; in sched__get_first_possible_cpu()
36 for (i = 0; i < nrcpus; i++) { in sched__get_first_possible_cpu()
57 int nrcpus = cpu__max_cpu().cpu; in test__PERF_RECORD() local
77 cpu_mask = CPU_ALLOC(nrcpus); in test__PERF_RECORD()
83 cpu_mask_size = CPU_ALLOC_SIZE(nrcpus); in test__PERF_RECORD()
/linux/tools/perf/bench/
H A Dfutex-hash.c136 int nrcpus; in bench_futex_hash() local
182 nrcpus = cpu__max_cpu().cpu; in bench_futex_hash()
183 cpuset = CPU_ALLOC(nrcpus); in bench_futex_hash()
185 size = CPU_ALLOC_SIZE(nrcpus); in bench_futex_hash()
H A Dfutex-wake.c106 int nrcpus = cpu__max_cpu().cpu; in block_threads() local
109 cpuset = CPU_ALLOC(nrcpus); in block_threads()
111 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
H A Dfutex-lock-pi.c128 int nrcpus = cpu__max_cpu().cpu; in create_threads() local
133 cpuset = CPU_ALLOC(nrcpus); in create_threads()
135 size = CPU_ALLOC_SIZE(nrcpus); in create_threads()
H A Depoll-ctl.c229 int nrcpus; in do_threads() local
235 nrcpus = cpu__max_cpu().cpu; in do_threads()
236 cpuset = CPU_ALLOC(nrcpus); in do_threads()
238 size = CPU_ALLOC_SIZE(nrcpus); in do_threads()
H A Dfutex-requeue.c131 int nrcpus = cpu__max_cpu().cpu; in block_threads() local
136 cpuset = CPU_ALLOC(nrcpus); in block_threads()
138 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
H A Dfutex-wake-parallel.c155 int nrcpus = cpu__max_cpu().cpu; in block_threads() local
160 cpuset = CPU_ALLOC(nrcpus); in block_threads()
162 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
/linux/tools/perf/util/
H A Dheader.c1850 fprintf(fp, "# nrcpus online : %u\n", ff->ph->env.nr_cpus_online); in print_cmdline()
1851 fprintf(fp, "# nrcpus avail : %u\n", ff->ph->env.nr_cpus_avail); in print_cmdline()
4027 FEAT_OPR(NRCPUS, nrcpus, false), in perf_session__do_write_header()