Searched refs:stolen_thread (Results 1 – 3 of 3) sorted by relevance
| /xnu-12377.41.6/tests/sched/ |
| H A D | edge_migration.c | 337 thread_t stolen_thread = cpu_steal_thread(c); variable 340 bool did_rebalance_steal = (stolen_thread == thread); 341 if (stolen_thread != NULL) { 342 T_QUIET; T_EXPECT_EQ(stolen_thread, thread, "should only be one thread to steal?"); 427 thread_t stolen_thread = cpu_steal_thread(c); variable 428 if (stolen_thread != NULL) { 429 …T_QUIET; T_EXPECT_NE(stolen_thread, thread, "Should not steal back thread from its chosen_pset %s", 431 if (stolen_thread != thread) { 433 enqueue_thread(pset_target(loaded_pset_id), stolen_thread);
|
| /xnu-12377.41.6/tests/sched/sched_test_harness/ |
| H A D | sched_migration_harness.c | 75 test_thread_t stolen_thread = impl_steal_thread(cpu_id); in cpu_steal_thread() local 76 fprintf(_log, "on cpu %d, stole thread %p\n", cpu_id, (void *)stolen_thread); in cpu_steal_thread() 77 return stolen_thread; in cpu_steal_thread()
|
| /xnu-12377.41.6/osfmk/kern/ |
| H A D | sched_clutch.c | 4446 thread_t stolen_thread = THREAD_NULL; in sched_edge_steal_thread() local 4477 …stolen_thread = sched_clutch_thread_unbound_lookup(clutch_root_for_steal, &clutch_root_for_steal->… in sched_edge_steal_thread() 4478 …sched_clutch_thread_remove(clutch_root_for_steal, stolen_thread, current_timestamp, SCHED_CLUTCH_B… in sched_edge_steal_thread() 4486 …thread_tid(stolen_thread), thread_group_get_id(stolen_thread->thread_group), bucket_for_steal, deb… in sched_edge_steal_thread() 4487 …MACH_SCHED_CLUTCH, MACH_SCHED_EDGE_STEAL) | DBG_FUNC_NONE, thread_tid(stolen_thread), pset->pset_c… in sched_edge_steal_thread() 4492 if (stolen_thread != THREAD_NULL) { in sched_edge_steal_thread() 4496 return stolen_thread; in sched_edge_steal_thread()
|