Home
last modified time | relevance | path

Searched refs:NUM_THREADS (Results 1 – 3 of 3) sorted by relevance

/xnu-11215/tests/sched/
H A Doverloaded_runqueue.c29 static int NUM_THREADS; variable
213 …le thread groups without disabling interrupts for more than %llu ns!", NUM_THREADS, INTERRUPT_DISA… in search_for_interrupt_disable_timeout_tracepoint()
237 NUM_THREADS = 1000;
286 …T_LOG("Creating %d threads at pri %d, each with a unique thread group", NUM_THREADS, BACKGROUND_PR…
288 pthread_t *bg_threads = malloc(sizeof(pthread_t) * (size_t)NUM_THREADS);
289 start_threads(bg_threads, make_tg_and_spin, BACKGROUND_PRI, NUM_THREADS);
/xnu-11215/tests/
H A Duser_msrs.c34 #define NUM_THREADS 256 macro
107 pthread_t threads[NUM_THREADS]; in msr_test()
159 for (i = 0; i < NUM_THREADS; i++) { in msr_test()
183 for (i = 0; i < NUM_THREADS; i++) { in msr_test()
/xnu-11215/osfmk/tests/
H A Dkernel_tests.c1022 #define NUM_THREADS 4 macro
2480 init_synch_test_common((struct synch_test_common *)&info, NUM_THREADS); in ts_kernel_sleep_inheritor_test()
2771 info->synch_value = NUM_THREADS; in test_gate_push()
2788 info->synch_value = NUM_THREADS; in test_gate_handoff()
2795 T_ASSERT(info->value == NUM_THREADS, "value protected by gate"); in test_gate_handoff()
2810 info->synch_value = NUM_THREADS; in test_gate_steal()
2831 info->synch_value = NUM_THREADS; in test_gate_alloc_free()
2847 init_synch_test_common((struct synch_test_common *)&info, NUM_THREADS); in ts_kernel_gate_test()