Home
last modified time | relevance | path

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

/xnu-8796.141.3/doc/
H A Dsched_clutch_edge.md10clutch scheduler is the timesharing algorithm for threads on a single cluster. The **Edge schedule…
14 In order to reason about higher level user workloads, the clutch scheduler schedules groups of thre…
53 …een those buckets. The policy implemented here is to compare the highest clutch buckets of both bu…
70 …_group` represents threads enqueued on all clusters on the platform. The clutch bucket group maint…
72clutch bucket group has an entry to represent runnable threads for the thread group per cluster on…
74clutch bucket**: The clutch bucket maintains a priority queue which contains threads ordered by th…
75 …based on the ratio of voluntary blocking time and CPU usage time for the clutch bucket group as a …
77 The clutch bucket group maintains a few metrics to allow calculation of the interactivity score for…
79 … Blocked Time**: Maintains the amount of time no threads were runnable for the clutch bucket group.
80 …s were pending execution for this clutch bucket group. This value is reset as soon as one of the t…
[all …]
/xnu-8796.141.3/osfmk/kern/
H A Dsched_clutch.c1124 sched_clutch_t clutch, in sched_clutch_bucket_group_init() argument
1129 clutch_bucket_group->scbg_clutch = clutch; in sched_clutch_bucket_group_init()
1170 sched_clutch_t clutch, in sched_clutch_init_with_thread_group() argument
1173 os_atomic_store(&clutch->sc_thr_count, 0, relaxed); in sched_clutch_init_with_thread_group()
1177 sched_clutch_bucket_group_init(&(clutch->sc_clutch_groups[i]), clutch, i); in sched_clutch_init_with_thread_group()
1181 clutch->sc_tg = tg; in sched_clutch_init_with_thread_group()
1191 sched_clutch_t clutch) in sched_clutch_destroy() argument
1193 assert(os_atomic_load(&clutch->sc_thr_count, relaxed) == 0); in sched_clutch_destroy()
1195 sched_clutch_bucket_group_destroy(&(clutch->sc_clutch_groups[i])); in sched_clutch_destroy()
1231 sched_clutch_t clutch = sched_clutch_for_thread(thread); in sched_edge_thread_preferred_cluster() local
[all …]