Home
last modified time | relevance | path

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

/xnu-11215.81.4/tests/sched/sched_test_harness/
H A Dsched_clutch_harness.c41 static struct processor cpu0 = { variable
107 sched_clutch_processor_init(&cpu0); in impl_init_runqueue()
170 ((thread_t)thread)->bound_processor = &cpu0; in impl_set_thread_processor_bound()
179 cpu0.active_thread = thread; in impl_set_thread_current()
180 cpu0.first_timeslice = true; in impl_set_thread_current()
182 cpu0.current_pri = ((thread_t)thread)->sched_pri; in impl_set_thread_current()
183 cpu0.current_thread_group = ((thread_t)thread)->thread_group; in impl_set_thread_current()
184 cpu0.current_is_bound = ((thread_t)thread)->bound_processor != PROCESSOR_NULL; in impl_set_thread_current()
191 cpu0.active_thread = NULL; in impl_clear_thread_current()
197 sched_clutch_processor_enqueue(&cpu0, thread, SCHED_TAILQ); in impl_enqueue_thread()
[all …]