Home
last modified time | relevance | path

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

/oneTBB/test/tbb/
H A Dtest_task_arena.cpp440 …TestArenaConcurrencyBody( tbb::task_arena &a, int max_concurrency, int reserved_slots, utils::Spin… in TestArenaConcurrencyBody() argument
441 …: my_a(a), my_max_concurrency(max_concurrency), my_reserved_slots(reserved_slots), my_barrier(b), … in TestArenaConcurrencyBody()
1769 void test_threads_sleep(int concurrency, int reserved_slots, int num_external_threads) { in test_threads_sleep() argument
1770 tbb::task_arena a(concurrency, reserved_slots); in test_threads_sleep()
1774 utils::SpinBarrier barrier( concurrency - reserved_slots + 1 ); in test_threads_sleep()
1781 for (int i = 0; i < concurrency - reserved_slots; ++i) { in test_threads_sleep()
1804 void test_threads_sleep(int concurrency, int reserved_slots) { in test_threads_sleep() argument
1805 test_threads_sleep(concurrency, reserved_slots, reserved_slots); in test_threads_sleep()
1806 test_threads_sleep(concurrency, reserved_slots, 2 * concurrency); in test_threads_sleep()