Skip to content

Scheduler

Member TypeMember Name
enum idle_thread_statestate
atomic_boolwoken_from_timer
uint64_tlast_entry_ms
uint64_tlast_exit_ms
Member TypeMember Name
atomic_booltick_enabled
time_ttick_duration_ms
struct list_headurgent_threads
struct rbtthread_rbt
struct rbtcompleted_rbt
struct list_headrt_threads
struct list_headbg_threads
uint8_tqueue_bitmap
struct thread*current
size_tthread_count[THREAD_PRIO_CLASS_COUNT]
size_ttotal_thread_count
size_ttotal_weight
boolperiod_enabled
uint64_tcurrent_period
time_tperiod_ms
time_tperiod_start_ms
uint64_tcore_id
atomic_boolbeing_robbed
atomic_boolstealing_work
struct spinlocklock
struct thread*idle_thread
struct idle_thread_dataidle_thread_data
Member TypeMember Name
uint32_tmax_concurrent_stealers
uint32_tactive_stealers
uint32_ttotal_threads
int64_tsteal_min_diff
NameValue
IDLE_THREAD_WORK_STEAL0
IDLE_THREAD_SLEEP1
75ULL /* How little work the core needs to be
* doing to try to steal work from another
* core. This means "% of the average"
*/