Home
last modified time | relevance | path

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

/oneTBB/test/tbbmalloc/
H A Dtest_malloc_regression.cpp53 const int alloc_size = 1024; in TestBootstrapLeak() local
59 array[i] = a.allocate( alloc_size ); in TestBootstrapLeak()
61 RunThread( minimalAllocFree(), alloc_size ); // for threading library to take some memory in TestBootstrapLeak()
77 RunThread( minimalAllocFree(), alloc_size ); in TestBootstrapLeak()
88 a.deallocate( array[i], alloc_size ); in TestBootstrapLeak()
H A Dtest_malloc_whitebox.cpp824 inline void multiThreadAlloc(size_t alloc_size) { in multiThreadAlloc() argument
826 ptrs[i] = scalable_malloc( alloc_size ); in multiThreadAlloc()
/oneTBB/src/tbb/
H A Darena.h82 std::size_t alloc_size = cache_capacity * sizeof(task_dispatcher*); in init() local
83 my_co_scheduler_cache = (task_dispatcher**)cache_aligned_allocate(alloc_size); in init()
84 std::memset( my_co_scheduler_cache, 0, alloc_size ); in init()