Searched refs:MAX_OBJECT (Results 1 – 1 of 1) sorted by relevance
| /oneTBB/test/tbbmalloc/ |
| H A D | test_malloc_pools.cpp | 399 const size_t MAX_OBJECT = 7*1024*1024; in TestFixedBufferPool() local 405 FixedPoolHead<MAX_OBJECT + 1024*1024> head; in TestFixedBufferPool() 409 utils::NativeParallelFor( 1, FixedPoolUse(1, pool, MAX_OBJECT, 2) ); in TestFixedBufferPool() 412 ptrs[i] = pool_malloc(pool, MAX_OBJECT/ITERS); in TestFixedBufferPool() 418 utils::NativeParallelFor( 1, FixedPoolUse(1, pool, MAX_OBJECT, 1) ); in TestFixedBufferPool() 423 utils::NativeParallelFor( p, FixedPoolUse(p, pool, MAX_OBJECT/p/2, 10000) ); in TestFixedBufferPool() 427 utils::NativeParallelFor( p, FixedPoolUse(p, pool, MAX_OBJECT/p/2, 1) ); in TestFixedBufferPool() 438 REQUIRE(haveEnoughSpace(pool, MAX_OBJECT/2)); in TestFixedBufferPool() 439 for (l = MAX_OBJECT/2, r = MAX_OBJECT + 1024*1024; l < r-1; ) { in TestFixedBufferPool() 468 FixedPoolHead<MAX_OBJECT + 1024*1024> head; in TestFixedBufferPool() [all …]
|