Home
last modified time | relevance | path

Searched refs:num_cores (Results 1 – 5 of 5) sorted by relevance

/xnu-12377.81.4/tests/counter/
H A Dbenchmark.lua55 function QueueTest(num_cores)
58 num_cores = num_cores,
83 local args = {test.path, benchmark.opt.variant, benchmark.opt.num_writes, test.num_cores,
99 threads = test.num_cores,
H A Dbenchmark.c235 long num_cores = strtol(argv[current_argument++], NULL, 10); in parse_arguments() local
236 if (num_cores == 0) { in parse_arguments()
240 assert(num_cores > 0 && num_cores <= get_ncpu()); in parse_arguments()
241 args->n_threads = (unsigned int) num_cores; in parse_arguments()
/xnu-12377.81.4/tests/sched/
H A Dthread_group_fairness.c28 static unsigned int num_cores; variable
54 num_cores = (unsigned int) dt_ncpu(); in environment_init()
134 for (unsigned int i = 0; i < num_cores; i++) { in start_threads()
148 for (unsigned int i = 0; i < num_cores; i++) { in snapshot_user_time_usec()
179 pthread_t lower_threads[num_cores];
180 struct thread_data lower_thread_datas[num_cores];
184 pthread_t higher_threads[num_cores];
185 struct thread_data higher_thread_datas[num_cores];
/xnu-12377.81.4/osfmk/i386/
H A Dcpu_topology.h180 uint32_t num_cores; /* Number of cores in die */ member
H A Dcpu_threads.c777 die->num_cores += 1; in x86_die_add_core()