Home
last modified time | relevance | path

Searched refs:allocationSize (Results 1 – 4 of 4) sorted by relevance

/oneTBB/test/tbbmalloc/
H A Dtest_malloc_whitebox.cpp1054 …const size_t allocationSize = LargeObjectCache::alignToBin(size+headersSize+rml::internal::largeOb… in LOCModelTester() local
1055 const int binIdx = defaultMemPool->extMemPool.loc.largeCache.sizeToIdx( allocationSize ); in LOCModelTester()
1059 …cheTypeProps> cacheBinModel(defaultMemPool->extMemPool.loc.largeCache.bin[binIdx], allocationSize); in LOCModelTester()
1069 … scen.saveLmb(defaultMemPool->extMemPool.mallocLargeObject(defaultMemPool, allocationSize)); in LOCModelTester()
1140 …const size_t allocationSize = LargeObjectCache::alignToBin(size+headersSize+rml::internal::largeOb… in operator ()() local
1145 defaultMemPool->extMemPool.mallocLargeObject(defaultMemPool, allocationSize) ); in operator ()()
1176 …size_t allocationSize = LargeObjectCache::alignToBin(size+headersSize+rml::internal::largeObjectAl… in operator ()() local
1181 … lmbArray[i] = defaultMemPool->extMemPool.mallocLargeObject(defaultMemPool, allocationSize); in operator ()()
1532 size_t allocationSize = alignedSizeFromIdx(idx); in populateCache() local
1534 … loArray[localIdx] = defaultMemPool->extMemPool.mallocLargeObject(defaultMemPool, allocationSize); in populateCache()
[all …]
/oneTBB/src/tbbmalloc/
H A Dlarge_objects.cpp980 LargeMemoryBlock *ExtMemoryPool::mallocLargeObject(MemoryPool *pool, size_t allocationSize) in mallocLargeObject() argument
984 memAllocKB.fetch_add(allocationSize/1024); in mallocLargeObject()
986 LargeMemoryBlock* lmb = loc.get(allocationSize); in mallocLargeObject()
993 lmb = backend.getLargeBlock(allocationSize); in mallocLargeObject()
996 loc.updateCacheState(decrease, allocationSize); in mallocLargeObject()
1005 memHitKB.fetch_add(allocationSize/1024); in mallocLargeObject()
H A Dtbbmalloc_internal.h621 LargeMemoryBlock *mallocLargeObject(MemoryPool *pool, size_t allocationSize);
H A Dfrontend.cpp2286 size_t allocationSize = LargeObjectCache::alignToBin(size+headersSize+alignment); in getFromLLOCache() local
2287 if (allocationSize < size) // allocationSize is wrapped around after alignToBin in getFromLLOCache()
2289 MALLOC_ASSERT(allocationSize >= alignment, "Overflow must be checked before."); in getFromLLOCache()
2293 lmb = tls->lloc.get(allocationSize); in getFromLLOCache()
2296 lmb = extMemPool.mallocLargeObject(this, allocationSize); in getFromLLOCache()