Home
last modified time | relevance | path

Searched refs:hw_topology (Results 1 – 7 of 7) sorted by relevance

/xnu-12377.81.4/tests/sched/sched_test_harness/
H A Dsched_migration_harness.c13 init_migration_harness(test_hw_topology_t hw_topology) in init_migration_harness() argument
18 assert(hw_topology.num_psets > 0 && hw_topology.total_cpus > 0); in init_migration_harness()
21 set_hw_topology(hw_topology); in init_migration_harness()
22 impl_init_migration_harness(hw_topology); in init_migration_harness()
H A Dsched_clutch_harness_impl.c131 clutch_impl_init_topology(test_hw_topology_t hw_topology) in clutch_impl_init_topology() argument
133 printf("��️ Mock HW Topology: %d psets {", hw_topology.num_psets); in clutch_impl_init_topology()
136 assert(hw_topology.num_psets <= MAX_PSETS); in clutch_impl_init_topology()
138 for (int i = 0; i < hw_topology.num_psets; i++) { in clutch_impl_init_topology()
139 assert((total_cpus + hw_topology.psets[i].num_cpus) <= MAX_CPUS); in clutch_impl_init_topology()
140 …printf(" (%d: %d %c CPUs)", i, hw_topology.psets[i].num_cpus, test_cpu_type_to_char(hw_topology.ps… in clutch_impl_init_topology()
141 cluster_type_t cluster_type = test_cpu_type_to_cluster_type(hw_topology.psets[i].cpu_type); in clutch_impl_init_topology()
158 for (int c = total_cpus; c < total_cpus + hw_topology.psets[i].num_cpus; c++) { in clutch_impl_init_topology()
171 total_cpus += hw_topology.psets[i].num_cpus; in clutch_impl_init_topology()
H A Dsched_migration_harness.h34 extern void set_hw_topology(test_hw_topology_t hw_topology);
43 extern void init_migration_harness(test_hw_topology_t hw_topology);
H A Dsched_clutch_harness.h23 extern void clutch_impl_init_topology(test_hw_topology_t hw_topology);
H A Dsched_harness_impl.h30 extern void impl_init_migration_harness(test_hw_topology_t hw_topology);
H A Dsched_runqueue_harness.c58 set_hw_topology(test_hw_topology_t hw_topology) in set_hw_topology() argument
60 current_hw_topology = hw_topology; in set_hw_topology()
H A Dsched_edge_harness.c175 impl_init_migration_harness(test_hw_topology_t hw_topology) in impl_init_migration_harness() argument
178 curr_hw_topo = hw_topology; in impl_init_migration_harness()