Searched refs:test_thread_t (Results 1 – 4 of 4) sorted by relevance
| /xnu-11215.81.4/tests/sched/sched_test_harness/ |
| H A D | sched_runqueue_harness.h | 10 typedef void *test_thread_t; typedef 22 extern test_thread_t create_thread(int th_sched_bucket, struct thread_group *tg, int pri); 23 extern void set_thread_sched_mode(test_thread_t thread, int mode); 24 extern void set_thread_processor_bound(test_thread_t thread); 25 extern void set_thread_current(test_thread_t thread); 27 extern void enqueue_thread(test_thread_t thread); 29 extern void enqueue_threads_arr(int num_threads, test_thread_t *threads); 31 … enqueue_threads_arr_rand_order(unsigned int random_seed, int num_threads, test_thread_t *threads); 32 extern bool dequeue_thread_expect(test_thread_t expected_thread); 34 extern int dequeue_threads_expect_ordered_arr(int num_threads, test_thread_t *thr… [all …]
|
| H A D | sched_runqueue_harness.c | 85 test_thread_t 88 test_thread_t thread = impl_create_thread(th_sched_bucket, tg, pri); in create_thread() 95 set_thread_sched_mode(test_thread_t thread, int mode) in set_thread_sched_mode() 102 set_thread_processor_bound(test_thread_t thread) in set_thread_processor_bound() 109 set_thread_current(test_thread_t thread) in set_thread_current() 122 enqueue_thread(test_thread_t thread) in enqueue_thread() 134 test_thread_t thread = va_arg(args, test_thread_t); in enqueue_threads() 140 enqueue_threads_arr(int num_threads, test_thread_t *threads) in enqueue_threads_arr() 150 test_thread_t *tmp = (test_thread_t *)malloc(sizeof(test_thread_t) * (size_t)num_threads); in enqueue_threads_rand_order() 154 test_thread_t thread = va_arg(args, test_thread_t); in enqueue_threads_rand_order() [all …]
|
| H A D | sched_clutch_harness.c | 144 test_thread_t 162 impl_set_thread_sched_mode(test_thread_t thread, int mode) in impl_set_thread_sched_mode() 168 impl_set_thread_processor_bound(test_thread_t thread) in impl_set_thread_processor_bound() 173 static test_thread_t curr_thread = NULL; 176 impl_set_thread_current(test_thread_t thread) in impl_set_thread_current() 195 impl_enqueue_thread(test_thread_t thread) in impl_enqueue_thread() 200 test_thread_t 206 test_thread_t
|
| /xnu-11215.81.4/tests/sched/ |
| H A D | clutch_runqueue.c | 26 …test_thread_t lowest_bound = create_thread(TH_BUCKET_SHARE_BG, low_tg, root_bucket_to_highest_pri[… 28 …test_thread_t highest_bound = create_thread(TH_BUCKET_SHARE_IN, high_tg, root_bucket_to_highest_pr… 30 …test_thread_t lowest_unbound = create_thread(TH_BUCKET_SHARE_BG, low_tg, root_bucket_to_highest_pr… 31 …test_thread_t highest_unbound = create_thread(TH_BUCKET_SHARE_IN, high_tg, root_bucket_to_highest_… 41 …test_thread_t bound = create_thread(TH_BUCKET_SHARE_DF, low_tg, root_bucket_to_highest_pri[TH_BUCK… 43 …test_thread_t higherpri_unbound = create_thread(TH_BUCKET_SHARE_DF, low_tg, root_bucket_to_highest… 44 …test_thread_t interactive_higherpri_unbound = create_thread(TH_BUCKET_SHARE_DF, high_tg, root_buck… 45 …test_thread_t interactive_lowerpri_unbound = create_thread(TH_BUCKET_SHARE_DF, high_tg, root_bucke… 62 …test_thread_t aboveui = create_thread(TH_BUCKET_FIXPRI, same_tg, root_bucket_to_highest_pri[TH_BUC… 64 …test_thread_t low_fg = create_thread(TH_BUCKET_SHARE_FG, same_tg, root_bucket_to_highest_pri[TH_BU… [all …]
|