Searched refs:hw_topology (Results 1 – 7 of 7) sorted by relevance
99 clutch_impl_init_topology(test_hw_topology_t hw_topology) in clutch_impl_init_topology() argument101 printf("️ Mock HW Topology: %d psets {", hw_topology.num_psets); in clutch_impl_init_topology()102 assert(hw_topology.num_psets <= MAX_PSETS); in clutch_impl_init_topology()104 for (int i = 0; i < hw_topology.num_psets; i++) { in clutch_impl_init_topology()105 assert((total_cpus + hw_topology.psets[i].num_cpus) <= MAX_CPUS); in clutch_impl_init_topology()115 …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()116 for (int c = total_cpus; c < total_cpus + hw_topology.psets[i].num_cpus; c++) { in clutch_impl_init_topology()129 total_cpus += hw_topology.psets[i].num_cpus; in clutch_impl_init_topology()
13 init_migration_harness(test_hw_topology_t hw_topology) in init_migration_harness() argument20 set_hw_topology(hw_topology); in init_migration_harness()21 impl_init_migration_harness(hw_topology); in init_migration_harness()
32 extern void set_hw_topology(test_hw_topology_t hw_topology);40 extern void init_migration_harness(test_hw_topology_t hw_topology);
23 extern void clutch_impl_init_topology(test_hw_topology_t hw_topology);
28 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()
233 impl_init_migration_harness(test_hw_topology_t hw_topology) in impl_init_migration_harness() argument236 curr_hw_topo = hw_topology; in impl_init_migration_harness()