Home
last modified time | relevance | path

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

/xnu-11417.140.69/tests/sched/sched_test_harness/
H A Dsched_clutch_harness_impl.c223 cpus[cpu_id]->first_timeslice = true; in clutch_impl_cpu_set_thread_current()
/xnu-11417.140.69/osfmk/kern/
H A Dsched_dualq.c332 if (processor->first_timeslice) { in sched_dualq_processor_csw_check()
H A Dprocessor.h439 bool first_timeslice; /* has the quantum expired since context switch */ member
H A Dsched_amp.c343 if (processor->first_timeslice) { in sched_amp_processor_csw_check()
H A Dpriority.c213 processor->first_timeslice = FALSE; in thread_quantum_expire()
H A Dsched_clutch.c1749 …r_than_tiebreak(prev_clutch_bucket_pri, clutch_bucket->scb_priority, processor->first_timeslice)) { in sched_clutch_root_bucket_highest_clutch_bucket()
2331 …ater_than_tiebreak(prev_thread->sched_pri, bound_thread->sched_pri, processor->first_timeslice))) { in sched_clutch_thread_bound_lookup()
2822 …pri_greater_than_tiebreak(prev_thread->sched_pri, thread->sched_pri, processor->first_timeslice)) { in sched_clutch_thread_unbound_lookup()
3306 …ri_greater_than_tiebreak(prev_thread->sched_pri, bound_runq->highq, processor->first_timeslice))) { in sched_clutch_processor_highest_thread()
H A Dsched_prim.c2738 …ok_to_run_realtime_thread |= (thread->sched_pri >= BASEPRI_RTQUEUES && processor->first_timeslice); in thread_select()
2841 if (thread->sched_pri >= BASEPRI_RTQUEUES && processor->first_timeslice) { in thread_select()
3783 boolean_t keep_quantum = processor->first_timeslice; in thread_dispatch()
4025 processor->first_timeslice = TRUE; in thread_dispatch()
4030 processor->first_timeslice = FALSE; in thread_dispatch()
4090 processor->first_timeslice = FALSE; in thread_block_reason()
6566 if ((rt_runq_priority(pset) > processor->current_pri) || !processor->first_timeslice) { in csw_check_locked()
H A Dprocessor.c321 processor->first_timeslice = FALSE; in processor_init()