Lines Matching refs:num_threads

852     const int num_threads = 8;  in TestCleanAllBuffers()  local
858 TestCleanAllBuffersBody<AllocSize>::initBarrier(num_threads); in TestCleanAllBuffers()
860 utils::NativeParallelFor(num_threads, TestCleanAllBuffersBody<AllocSize>()); in TestCleanAllBuffers()
902 const int num_threads = 8; in TestCleanThreadBuffers() local
907 TestCleanThreadBuffersBody::initBarrier(num_threads); in TestCleanThreadBuffers()
908 utils::NativeParallelFor(num_threads, TestCleanThreadBuffersBody()); in TestCleanThreadBuffers()
1131 const int num_threads; member in TestCollapsingMallocFree
1133 TestCollapsingMallocFree( int _num_threads ) : num_threads(_num_threads) { in TestCollapsingMallocFree()
1134 initBarrier( num_threads ); in TestCollapsingMallocFree()
1151 …REQUIRE_MESSAGE( tbbmalloc_whitebox::locGetProcessed < num_threads*NUM_ALLOCS, "No one Malloc/Free… in check()
1157 const int num_threads; member in TestCollapsingBootstrap::CheckNumAllocs
1159 CheckNumAllocs( int _num_threads ) : num_threads(_num_threads) {} in CheckNumAllocs()
1161 REQUIRE( tbbmalloc_whitebox::locGetProcessed == num_threads*NUM_ALLOCS ); in operator ()()
1167 const int num_threads; member in TestCollapsingBootstrap
1169 TestCollapsingBootstrap( int _num_threads ) : num_threads(_num_threads) { in TestCollapsingBootstrap()
1170 initBarrier( num_threads ); in TestCollapsingBootstrap()
1183 barrier.wait(CheckNumAllocs(num_threads)); in operator ()()
1190 REQUIRE( tbbmalloc_whitebox::locGetProcessed == num_threads*NUM_ALLOCS ); in check()
1195 void LOCCollapsingTester( int num_threads ) { in LOCCollapsingTester() argument
1201 Scenario scen(num_threads); in LOCCollapsingTester()
1202 utils::NativeParallelFor(num_threads, scen); in LOCCollapsingTester()
1211 const int num_threads = 16; in TestLOC() local
1212 LOCCollapsingTester<TestCollapsingBootstrap>( num_threads ); in TestLOC()
1213 if ( num_threads > 1 ) { in TestLOC()
1214 INFO( "num_threads = " << num_threads ); in TestLOC()
1215 LOCCollapsingTester<TestCollapsingMallocFree>( num_threads ); in TestLOC()
1217 …arning: concurrency is too low for TestMallocFreeCollapsing ( num_threads = %d )\n", num_threads ); in TestLOC()