Lines Matching refs:num_threads
61 …arallel_puts( tbb::flow::sequencer_node<T> &q, int num_threads ) : my_q(q), my_num_threads(num_thr… in parallel_puts()
79 touches( int num_threads ) : my_num_threads(num_threads) { in touches()
143 …gets( tbb::flow::sequencer_node<T> &q, int num_threads, touches<T> &t ) : my_q(q), my_num_threads(… in parallel_gets()
164 …allel_put_get( tbb::flow::sequencer_node<T> &s1, tbb::flow::sequencer_node<T> &s2, int num_threads, in parallel_put_get()
165 …<int> &counter, touches<T> &t ) : my_s1(s1), my_s2(s2), my_num_threads(num_threads), my_counter(co… in parallel_put_get()
195 int test_parallel(int num_threads) { in test_parallel() argument
199 utils::NativeParallelFor( num_threads, parallel_puts<T>(s, num_threads) ); in test_parallel()
201 touches<T> t( num_threads ); in test_parallel()
202 utils::NativeParallelFor( num_threads, parallel_gets<T>(s, num_threads, t) ); in test_parallel()
219 touches<T> t( num_threads ); in test_parallel()
222 … utils::NativeParallelFor( num_threads, parallel_put_get<T>(s1, s3, num_threads, counter, t) ); in test_parallel()
236 utils::NativeParallelFor( num_threads, parallel_puts<T>(s_copy, num_threads) ); in test_parallel()