| /xnu-11417.121.6/tests/sched/sched_test_harness/ ! |
| H A D | sched_runqueue_harness.c | 137 test_thread_t 140 test_thread_t thread = impl_create_thread(th_sched_bucket, tg, pri); in create_thread() 147 set_thread_sched_mode(test_thread_t thread, int mode) in set_thread_sched_mode() 154 set_thread_processor_bound(test_thread_t thread, int cpu_id) in set_thread_processor_bound() 161 cpu_set_thread_current(int cpu_id, test_thread_t thread) in cpu_set_thread_current() 198 cpu_enqueue_thread(int cpu_id, test_thread_t thread) in cpu_enqueue_thread() 225 enqueue_thread(test_runq_target_t runq_target, test_thread_t thread) in enqueue_thread() 237 test_thread_t thread = va_arg(args, test_thread_t); in enqueue_threads() 244 enqueue_threads_arr(test_runq_target_t runq_target, int num_threads, test_thread_t *threads) in enqueue_threads_arr() 256 test_thread_t *tmp = (test_thread_t *)malloc(sizeof(test_thread_t) * (size_t)num_threads); in enqueue_threads_rand_order() [all …]
|
| H A D | sched_harness_impl.h | 13 extern test_thread_t impl_create_thread(int th_sched_bucket, struct thread_group *tg, int p… 14 extern void impl_set_thread_sched_mode(test_thread_t thread, int mode); 15 extern void impl_set_thread_processor_bound(test_thread_t thread, int cpu_id); 16 extern void impl_cpu_set_thread_current(int cpu_id, test_thread_t thread); 18 extern void impl_cpu_enqueue_thread(int cpu_id, test_thread_t thread); 19 extern test_thread_t impl_cpu_dequeue_thread(int cpu_id); 20 extern test_thread_t impl_cpu_dequeue_thread_compare_current(int cpu_id); 25 extern void impl_send_ipi(int cpu_id, test_thread_t thread, test_ipi_event_t event… 30 extern void impl_set_thread_cluster_bound(test_thread_t thread, int cluster_id); 31 extern int impl_choose_pset_for_thread(test_thread_t thread);
|
| H A D | sched_runqueue_harness.h | 10 typedef void *test_thread_t; typedef 44 extern test_thread_t create_thread(int th_sched_bucket, struct thread_group *tg, int pri); 45 extern void set_thread_sched_mode(test_thread_t thread, int mode); 46 extern void set_thread_processor_bound(test_thread_t thread, int cpu_id); 47 extern void cpu_set_thread_current(int cpu_id, test_thread_t thread); 49 extern void enqueue_thread(test_runq_target_t runq_target, test_thread_t thread); 51 … enqueue_threads_arr(test_runq_target_t runq_target, int num_threads, test_thread_t *threads); 53 …test_runq_target_t runq_target, unsigned int random_seed, int num_threads, test_thread_t *threads); 54 extern bool dequeue_thread_expect(test_runq_target_t runq_target, test_thread_t ex… 56 …hreads_expect_ordered_arr(test_runq_target_t runq_target, int num_threads, test_thread_t *threads); [all …]
|
| H A D | sched_clutch_harness.c | 26 test_thread_t 33 impl_set_thread_sched_mode(test_thread_t thread, int mode) in impl_set_thread_sched_mode() 39 impl_set_thread_processor_bound(test_thread_t thread, int cpu_id) in impl_set_thread_processor_bound() 45 impl_cpu_set_thread_current(int cpu_id, test_thread_t thread) in impl_cpu_set_thread_current() 57 impl_cpu_enqueue_thread(int cpu_id, test_thread_t thread) in impl_cpu_enqueue_thread() 62 test_thread_t 68 test_thread_t
|
| H A D | sched_clutch_harness.h | 27 extern test_thread_t clutch_impl_create_thread(int root_bucket, struct thread_group *tg, int pri); 28 extern void clutch_impl_set_thread_sched_mode(test_thread_t thread, int mode); 29 extern void clutch_impl_set_thread_processor_bound(test_thread_t thread, int cpu_id); 30 extern void clutch_impl_cpu_set_thread_current(int cpu_id, test_thread_t thread);
|
| H A D | sched_edge_harness.c | 246 test_thread_t 253 impl_set_thread_sched_mode(test_thread_t thread, int mode) in impl_set_thread_sched_mode() 259 impl_set_thread_processor_bound(test_thread_t thread, int cpu_id) in impl_set_thread_processor_bound() 266 impl_set_thread_cluster_bound(test_thread_t thread, int cluster_id) in impl_set_thread_cluster_bound() 274 impl_cpu_set_thread_current(int cpu_id, test_thread_t thread) in impl_cpu_set_thread_current() 288 impl_cpu_enqueue_thread(int cpu_id, test_thread_t thread) in impl_cpu_enqueue_thread() 294 test_thread_t 301 test_thread_t 326 impl_choose_pset_for_thread(test_thread_t thread) in impl_choose_pset_for_thread() 360 edge_set_thread_shared_rsrc(test_thread_t thread, bool native_first) in edge_set_thread_shared_rsrc() [all …]
|
| H A D | sched_migration_harness.h | 42 extern void set_thread_cluster_bound(test_thread_t thread, int cluster_id); 43 extern bool choose_pset_for_thread_expect(test_thread_t thread, int expected_cluster_id); 63 extern void cpu_send_ipi_for_thread(int cpu_id, test_thread_t thread, test_ipi_event_t event);
|
| H A D | sched_migration_harness.c | 32 set_thread_cluster_bound(test_thread_t thread, int cluster_id) in set_thread_cluster_bound() 39 choose_pset_for_thread_expect(test_thread_t thread, int expected_cluster_id) in choose_pset_for_thread_expect() 97 cpu_send_ipi_for_thread(int cpu_id, test_thread_t thread, test_ipi_event_t event) in cpu_send_ipi_for_thread()
|
| H A D | sched_clutch_harness_impl.c | 181 test_thread_t 209 clutch_impl_set_thread_sched_mode(test_thread_t thread, int mode) in clutch_impl_set_thread_sched_mode() 214 clutch_impl_set_thread_processor_bound(test_thread_t thread, int cpu_id) in clutch_impl_set_thread_processor_bound() 220 clutch_impl_cpu_set_thread_current(int cpu_id, test_thread_t thread) in clutch_impl_cpu_set_thread_current()
|
| H A D | sched_edge_harness.h | 8 extern void edge_set_thread_shared_rsrc(test_thread_t thread, bool native_first);
|
| /xnu-11417.121.6/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 …]
|
| H A D | edge_runqueue.c | 41 …test_thread_t unbound_aboveui = create_thread(TH_BUCKET_FIXPRI, same_tg, root_bucket_to_highest_pr… 43 …test_thread_t bound_aboveui = create_thread(TH_BUCKET_FIXPRI, same_tg, root_bucket_to_highest_pri[… 46 …test_thread_t unbound_timeshare_fg = create_thread(TH_BUCKET_SHARE_FG, same_tg, root_bucket_to_hig… 47 …test_thread_t bound_timeshare_fg = create_thread(TH_BUCKET_SHARE_FG, same_tg, root_bucket_to_highe… 71 test_thread_t threads[num_threads]; 92 test_thread_t tie_break_threads[num_tie_break_threads]; 116 …test_thread_t low_iscore_bound = create_thread(TH_BUCKET_SHARE_DF, low_iscore_tg, root_bucket_to_h… 118 …test_thread_t high_iscore_bound = create_thread(TH_BUCKET_SHARE_DF, high_iscore_tg, root_bucket_to…
|
| H A D | edge_migration.c | 19 test_thread_t threads[dual_die.num_psets]; 67 …test_thread_t background = create_thread(TH_BUCKET_SHARE_BG, tg, root_bucket_to_highest_pri[TH_BUC… 68 …test_thread_t yielder = create_thread(TH_BUCKET_SHARE_DF, tg, root_bucket_to_highest_pri[TH_BUCKET…
|