Lines Matching refs:topo
72 test_hw_topology_t topo = dual_die; variable
73 init_migration_harness(topo);
89 test_thread_t earlier_threads[topo.total_cpus] = {};
90 for (int i = 0; i < topo.total_cpus; i++) {
102 for (int preferred_pset_id = 0; preferred_pset_id < topo.num_psets; preferred_pset_id++) {
114 for (int i = 0; i < topo.psets[preferred_pset_id].num_cpus; i++) {
121 …T_QUIET; T_EXPECT_EQ(topo.psets[chosen].cpu_type, topo.psets[preferred_pset_id].cpu_type, "chose a…
129 for (int i = 0; i < topo.num_psets; i++) {
130 if (topo.psets[i].cpu_type != topo.psets[preferred_pset_id].cpu_type) {
133 for (int j = 0; j < topo.psets[i].num_cpus; j++) {
141 for (int i = 0; i < topo.total_cpus; i++) {
222 test_hw_topology_t topo = dual_die; variable
223 init_migration_harness(topo);
228 for (int preferred_pset_id = 0; preferred_pset_id < topo.num_psets; preferred_pset_id++) {
238 for (int c = 0; c < topo.psets[chosen_pset].num_cpus; c++) {
248 for (int c = 0; c < topo.total_cpus; c++) {
294 test_hw_topology_t topo = dual_die; variable
295 init_migration_harness(topo);
314 for (uint stealing_pset_id = 0; stealing_pset_id < topo.num_psets; stealing_pset_id++) {
316 for (uint off = 1; off < topo.num_psets; off++) {
317 uint other_pset_id = (stealing_pset_id + off) % topo.num_psets;
327 if (topo.psets[other_pset_id].cpu_type == topo.psets[stealing_pset_id].cpu_type) {
355 test_hw_topology_t topo = dual_die; variable
356 init_migration_harness(topo);
366 for (int target_cpu = 0; target_cpu < topo.total_cpus; target_cpu++) {
368 for (int idle_cpu = 0; idle_cpu < topo.total_cpus; idle_cpu++) {
381 …if (topo.psets[cpu_id_to_pset_id(idle_cpu)].cpu_type == topo.psets[cpu_id_to_pset_id(target_cpu)].…