Home
last modified time | relevance | path

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

/xnu-12377.1.9/tests/sched/sched_test_harness/
H A Dsched_clutch_harness_impl.c118 clutch_impl_init_topology(test_hw_topology_t hw_topology) in clutch_impl_init_topology() argument
120 printf("��️ Mock HW Topology: %d psets {", hw_topology.num_psets); in clutch_impl_init_topology()
121 assert(hw_topology.num_psets <= MAX_PSETS); in clutch_impl_init_topology()
124 for (int i = 0; i < hw_topology.num_psets; i++) { in clutch_impl_init_topology()
125 if (pset_node_by_cpu_type[hw_topology.psets[i].cpu_type] == PSET_NODE_NULL) { in clutch_impl_init_topology()
126 …pset_node_by_cpu_type[hw_topology.psets[i].cpu_type] = (pset_node_t) malloc(sizeof(struct pset_nod… in clutch_impl_init_topology()
127 pset_node_t node = pset_node_by_cpu_type[hw_topology.psets[i].cpu_type]; in clutch_impl_init_topology()
134 for (int i = 0; i < hw_topology.num_psets; i++) { in clutch_impl_init_topology()
135 assert((total_cpus + hw_topology.psets[i].num_cpus) <= MAX_CPUS); in clutch_impl_init_topology()
144 psets[i]->cpu_set_count = hw_topology.psets[i].num_cpus; in clutch_impl_init_topology()
[all …]
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_migration_harness.h34 extern void set_hw_topology(test_hw_topology_t hw_topology);
42 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.h29 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.c215 impl_init_migration_harness(test_hw_topology_t hw_topology) in impl_init_migration_harness() argument
218 curr_hw_topo = hw_topology; in impl_init_migration_harness()