Searched refs:get_ncpu (Results 1 – 6 of 6) sorted by relevance
72 get_ncpu(void) in get_ncpu() function105 unsigned int ncpu = get_ncpu();
362 T_LOG("No. of cpus: %d", get_ncpu()); in run_test()432 nthreads = get_ncpu();456 nthreads = get_ncpu();
36 int get_ncpu(void);
73 get_ncpu(void) in get_ncpu() function
206 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()
240 assert(num_cores > 0 && num_cores <= get_ncpu()); in parse_arguments()