Home
last modified time | relevance | path

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

/oneTBB/test/tbb/
H A Dtest_limiter_node.cpp94 put_body( tbb::flow::limiter_node<T> &lim, std::atomic<int> &accept_count ) : in put_body()
95 my_lim(lim), my_accept_count(accept_count) {} in put_body()
113 my_lim(lim), my_accept_count(accept_count) {} in put_dec_body()
133 std::atomic<int> accept_count; in test_puts_with_decrements() local
134 accept_count = 0; in test_puts_with_decrements()
139 utils::NativeParallelFor( num_threads, put_dec_body<T>(lim, accept_count) ); in test_puts_with_decrements()
140 int c = accept_count; in test_puts_with_decrements()
160 std::atomic<int> accept_count; in test_parallel() local
161 accept_count = 0; in test_parallel()
164 utils::NativeParallelFor( num_threads, put_body<T>(lim, accept_count) ); in test_parallel()
[all …]