Lines Matching refs:accept_count
94 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()
112 put_dec_body( tbb::flow::limiter_node<T> &lim, std::atomic<int> &accept_count ) : in put_dec_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()
166 int c = accept_count; in test_parallel()