Searched refs:hw_topology (Results 1 – 7 of 7) sorted by relevance
13 init_migration_harness(test_hw_topology_t hw_topology) in init_migration_harness() argument18 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()
131 clutch_impl_init_topology(test_hw_topology_t hw_topology) in clutch_impl_init_topology() argument133 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()
34 extern void set_hw_topology(test_hw_topology_t hw_topology);43 extern void init_migration_harness(test_hw_topology_t hw_topology);
23 extern void clutch_impl_init_topology(test_hw_topology_t hw_topology);
30 extern void impl_init_migration_harness(test_hw_topology_t hw_topology);
58 set_hw_topology(test_hw_topology_t hw_topology) in set_hw_topology() argument60 current_hw_topology = hw_topology; in set_hw_topology()
175 impl_init_migration_harness(test_hw_topology_t hw_topology) in impl_init_migration_harness() argument178 curr_hw_topo = hw_topology; in impl_init_migration_harness()