Home
last modified time | relevance | path

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

/xnu-12377.1.9/doc/scheduler/
H A Dsched_clutch_edge.md12clutch scheduler is the timesharing algorithm for threads on a single cluster. The **Edge schedule…
16 In order to reason about higher level user workloads, the clutch scheduler schedules groups of thre…
55 …een those buckets. The policy implemented here is to compare the highest clutch buckets of both bu…
72 …_group` represents threads enqueued on all clusters on the platform. The clutch bucket group maint…
74clutch bucket group has an entry to represent runnable threads for the thread group per cluster on…
76clutch bucket**: The clutch bucket maintains a priority queue which contains threads ordered by th…
77 …based on the ratio of voluntary blocking time and CPU usage time for the clutch bucket group as a …
79 The clutch bucket group maintains a few metrics to allow calculation of the interactivity score for…
81 … Blocked Time**: Maintains the amount of time no threads were runnable for the clutch bucket group.
82 …s were pending execution for this clutch bucket group. This value is reset as soon as one of the t…
[all …]
/xnu-12377.1.9/osfmk/kern/
H A Dsched_clutch.c1393 sched_clutch_t clutch, in sched_clutch_bucket_group_init() argument
1398 clutch_bucket_group->scbg_clutch = clutch; in sched_clutch_bucket_group_init()
1435 sched_clutch_t clutch, in sched_clutch_init_with_thread_group() argument
1438 os_atomic_store(&clutch->sc_thr_count, 0, relaxed); in sched_clutch_init_with_thread_group()
1442 sched_clutch_bucket_group_init(&(clutch->sc_clutch_groups[i]), clutch, i); in sched_clutch_init_with_thread_group()
1446 clutch->sc_tg = tg; in sched_clutch_init_with_thread_group()
1456 sched_clutch_t clutch) in sched_clutch_destroy() argument
1458 assert(os_atomic_load(&clutch->sc_thr_count, relaxed) == 0); in sched_clutch_destroy()
1460 sched_clutch_bucket_group_destroy(&(clutch->sc_clutch_groups[i])); in sched_clutch_destroy()
1496 sched_clutch_t clutch = sched_clutch_for_thread(thread); in sched_edge_thread_preferred_cluster() local
[all …]
/xnu-12377.1.9/tests/sched/sched_test_harness/
H A Dsched_edge_harness.c402 sched_clutch_t clutch = sched_clutch_for_thread_group(tg); in impl_set_tg_sched_bucket_preferred_pset() local
407 sched_edge_update_preferred_cluster(clutch, modify_bitmap, tg_bucket_preferred_cluster); in impl_set_tg_sched_bucket_preferred_pset()