Searched refs:nrcpus (Results 1 – 8 of 8) sorted by relevance
21 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()
136 int nrcpus; in bench_futex_hash() local182 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()
106 int nrcpus = cpu__max_cpu().cpu; in block_threads() local109 cpuset = CPU_ALLOC(nrcpus); in block_threads()111 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
128 int nrcpus = cpu__max_cpu().cpu; in create_threads() local133 cpuset = CPU_ALLOC(nrcpus); in create_threads()135 size = CPU_ALLOC_SIZE(nrcpus); in create_threads()
229 int nrcpus; in do_threads() local235 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()
131 int nrcpus = cpu__max_cpu().cpu; in block_threads() local136 cpuset = CPU_ALLOC(nrcpus); in block_threads()138 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
155 int nrcpus = cpu__max_cpu().cpu; in block_threads() local160 cpuset = CPU_ALLOC(nrcpus); in block_threads()162 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
1850 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()