Home
last modified time | relevance | path

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

/xnu-8792.41.9/tests/ !
H A Dsched_cluster_bound_threads.c73 get_ncpu(void) in get_ncpu() function
106 unsigned int ncpu = get_ncpu();
H A Dperf_vmfault.c363 T_LOG("No. of cpus: %d", get_ncpu()); in run_test()
433 nthreads = get_ncpu();
458 nthreads = get_ncpu();
/xnu-8792.41.9/tests/benchmark/ !
H A Dhelpers.h36 unsigned int get_ncpu(void);
H A Dhelpers.c73 get_ncpu(void) in get_ncpu() function
/xnu-8792.41.9/tests/vm/ !
H A Dfault_throughput.c205 const size_t kMemSize = memory_per_core * (size_t) get_ncpu(); in main()
534 faulting_thread_args[i].cpu_id = (i + first_cpu) % get_ncpu(); in spawn_worker_threads()
665 assert(first_cpu >= 0 && first_cpu < get_ncpu()); in parse_arguments()
672 assert(num_cores > 0 && num_cores <= get_ncpu()); in parse_arguments()
/xnu-8792.41.9/tests/counter/ !
H A Dbenchmark.c240 assert(num_cores > 0 && num_cores <= get_ncpu()); in parse_arguments()