Home
last modified time | relevance | path

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

/xnu-12377.81.4/osfmk/kern/
H A Dsched_clutch.c585 sched_clutch_root_bucket_t root_bucket, in sched_clutch_root_bucket_init() argument
589 root_bucket->scrb_bucket = bucket; in sched_clutch_root_bucket_init()
592 root_bucket->scrb_bound = true; in sched_clutch_root_bucket_init()
593 run_queue_init(&root_bucket->scrb_bound_thread_runq); in sched_clutch_root_bucket_init()
599 root_bucket->scrb_bound = false; in sched_clutch_root_bucket_init()
600 sched_clutch_bucket_runq_init(&root_bucket->scrb_clutch_buckets); in sched_clutch_root_bucket_init()
602 priority_queue_entry_init(&root_bucket->scrb_pqlink); in sched_clutch_root_bucket_init()
603 root_bucket->scrb_pqlink.deadline = 0; in sched_clutch_root_bucket_init()
604 root_bucket->scrb_warped_deadline = SCHED_CLUTCH_ROOT_BUCKET_WARP_UNUSED; in sched_clutch_root_bucket_init()
605 root_bucket->scrb_warp_remaining = sched_clutch_root_bucket_warp[root_bucket->scrb_bucket]; in sched_clutch_root_bucket_init()
[all …]
/xnu-12377.81.4/tools/lldbmacros/
H A Dscheduler.py174 root_bucket = root_clutch.scr_unbound_buckets[i]
176 if root_bucket.scrb_clutch_buckets.scbrq_count != 0 and i != 0:
177 …root_bucket_deadline = kern.GetNanotimeFromAbstime(root_bucket.scrb_pqlink.deadline - GetRecentTim…
178 …:>10s} | {:>15d} | ".format("*", bucketStr[int(root_bucket.scrb_bucket)], "*", "*", addressof(root…
179 clutch_bucket_runq = root_bucket.scrb_clutch_buckets
197 root_bucket = root_clutch.scr_bound_buckets[i]
199 if root_bucket.scrb_bound_thread_runq.count != 0:
200 …root_bucket_deadline = kern.GetNanotimeFromAbstime(root_bucket.scrb_pqlink.deadline - GetRecentTim…
201 … | ".format("*", bucketStr[int(root_bucket.scrb_bucket)] + " [Bound]", "*", "*", addressof(root_bu…
202 if root_bucket.scrb_bound_thread_runq.count == 0:
[all …]
/xnu-12377.81.4/tests/sched/sched_test_harness/
H A Dsched_clutch_harness.c24 impl_create_thread(int root_bucket, struct thread_group *tg, int pri) in impl_create_thread() argument
26 return clutch_impl_create_thread(root_bucket, tg, pri); in impl_create_thread()
H A Dsched_clutch_harness_impl.c239 clutch_impl_create_thread(int root_bucket, struct thread_group *tg, int pri) in clutch_impl_create_thread() argument
241 …assert((sched_bucket_t)root_bucket == sched_convert_pri_to_bucket(pri) || (sched_bucket_t)root_buc… in clutch_impl_create_thread()
248 thread->th_sched_bucket = root_bucket; in clutch_impl_create_thread()
H A Dsched_clutch_harness.h27 extern test_thread_t clutch_impl_create_thread(int root_bucket, struct thread_group *tg, int pri);
H A Dsched_edge_harness.c189 impl_create_thread(int root_bucket, struct thread_group *tg, int pri) in impl_create_thread() argument
191 return clutch_impl_create_thread(root_bucket, tg, pri); in impl_create_thread()