Home
last modified time | relevance | path

Searched refs:get_ncpu (Results 1 – 6 of 6) sorted by relevance

/xnu-8020.101.4/tests/
H A Dsched_cluster_bound_threads.c72 get_ncpu(void) in get_ncpu() function
105 unsigned int ncpu = get_ncpu();
H A Dperf_vmfault.c362 T_LOG("No. of cpus: %d", get_ncpu()); in run_test()
432 nthreads = get_ncpu();
456 nthreads = get_ncpu();
/xnu-8020.101.4/tests/benchmark/
H A Dhelpers.h36 int get_ncpu(void);
H A Dhelpers.c73 get_ncpu(void) in get_ncpu() function
/xnu-8020.101.4/tests/vm/
H A Dfault_throughput.c206 const size_t kMemSize = memory_per_core * (size_t) get_ncpu(); in main()
535 faulting_thread_args[i].cpu_id = (i + first_cpu) % get_ncpu(); in spawn_worker_threads()
666 assert(first_cpu >= 0 && first_cpu < get_ncpu()); in parse_arguments()
673 assert(num_cores > 0 && num_cores <= get_ncpu()); in parse_arguments()
/xnu-8020.101.4/tests/counter/
H A Dbenchmark.c240 assert(num_cores > 0 && num_cores <= get_ncpu()); in parse_arguments()