Home
last modified time | relevance | path

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

/oneTBB/test/common/
H A Dutils_concurrency_limit.h49 using thread_num_type = std::size_t; variable
51 inline thread_num_type get_platform_max_threads() { in get_platform_max_threads()
52 static thread_num_type platform_max_threads = tbb::this_task_arena::max_concurrency(); in get_platform_max_threads()
56 inline std::vector<thread_num_type> concurrency_range(thread_num_type max_threads) { in concurrency_range()
57 std::vector<thread_num_type> threads_range; in concurrency_range()
58 thread_num_type step = 1; in concurrency_range()
59 for(thread_num_type thread_num = 1; thread_num <= max_threads; thread_num += step++) in concurrency_range()
68 inline std::vector<thread_num_type> concurrency_range() { in concurrency_range()
69 … static std::vector<thread_num_type> threads_range = concurrency_range(get_platform_max_threads()); in concurrency_range()