Searched refs:nb_threads (Results 1 – 2 of 2) sorted by relevance
72 static int exec_test(uint8_t nb_threads) in exec_test() argument74 if (nb_threads > MAX_NB_THREADS) { in exec_test()81 for (size_t tid = 0; tid < nb_threads; tid++) { in exec_test()90 &app_threads[tid], _tid, (void *)(uintptr_t)nb_threads, in exec_test()101 for (size_t tid = 0; tid < nb_threads; tid++) { in exec_test()104 for (size_t tid = 0; tid < nb_threads; tid++) { in exec_test()113 PRIu64 " ns per ctx\n", nb_threads, full_time, in exec_test()
15 uint32_t nb_threads = (uint32_t)(uintptr_t) p1; in context_switch_yield() local16 uint32_t rounds = NB_YIELDS / nb_threads; in context_switch_yield()