| /oneTBB/src/tbbmalloc/ |
| H A D | large_objects.cpp | 126 bin(bin), lclTime(0), opGet(nullptr), opClean(nullptr), cleanTime(0), in OperationPreprocessor() 137 …bin(bin), extMemPool(extMemPool), bitMask(bitMask), idx(idx), toRelease(nullptr), needCleanup(fals… in CacheBinFunctor() 371 OperationPreprocessor prep(bin); in operator ()() 716 bin[i].updateBinsSummary(&binsSummary); in regularCleanup() 730 bin[i].decreaseThreshold(); in regularCleanup() 761 bin[i].init(); in reset() 771 size += bin[i].getSize(); in getLOCSize() 785 size += bin[i].getUsedSize(); in getUsedSize() 844 MALLOC_ITT_SYNC_ACQUIRED(bin+idx); in get() 864 cachedSize += bin[i].reportStat(i, f); in reportStat() [all …]
|
| H A D | backend.h | 329 int bin = (size - minBinnedSize)/freeBinsStep; in sizeToBin() local 331 MALLOC_ASSERT(bin < HUGE_BIN, "Invalid size."); in sizeToBin() 332 return bin; in sizeToBin() 384 static size_t binToSize(int bin) { in binToSize() argument 385 MALLOC_ASSERT(bin <= HUGE_BIN, "Invalid bin."); in binToSize() 387 return bin*freeBinsStep + minBinnedSize; in binToSize()
|
| H A D | frontend.cpp | 625 tls->bin[i].verifyInitState(); in createTLS() 641 bin[i].outofTLSBin(block); in cleanupBlockBins() 1003 return bin + getIndex(size); in getAllocationBin() 1358 if (!bin) in adjustPositionInBin() 1360 bin->moveBlockToFront(this); in adjustPositionInBin() 1493 Bin* bin = tls->bin + index; in privatizeOrphaned() local 1810 bin[index].resetActiveBlock(); in release() 2552 Bin* bin; in internalPoolMalloc() local 2573 if ( !bin ) return nullptr; in internalPoolMalloc() 2601 bin->pushTLSBin(mallocBlock); in internalPoolMalloc() [all …]
|
| H A D | Statistics.h | 59 static inline int STAT_increment(int thread, int bin, int ctr) in STAT_increment() argument 61 …return reportAllocationStatistics && thread < MAX_THREADS ? ++(statistic[thread][bin].counter[ctr]… in STAT_increment()
|
| H A D | backend.cpp | 1157 int bin = sizeToBin(currSz); in coalescAndPutList() local 1163 if (toRet->myBin == bin && toRet->slabAligned == toAligned) in coalescAndPutList() 1183 target->addBlock(bin, toRet, toRet->sizeTmp, addToTail); in coalescAndPutList() 1184 } else if (!target->tryAddBlock(bin, toRet, addToTail)) { in coalescAndPutList()
|
| H A D | large_objects.h | 247 CacheBin bin[numBins]; variable
|
| /oneTBB/examples/graph/binpack/ |
| H A D | README.md | 4 …bin is packed as well as it can be, it is passed to a `buffer_node` where it waits to be picked up… 27 * `V` - capacity of each bin. 28 * `#packers` - number of concurrent bin packers to use (`default=#threads`).
|
| H A D | binpack.cpp | 38 typedef std::vector<value_type> bin; // we use a simple vector to represent a bin typedef 43 multifunction_node<value_type, std::tuple<value_type, bin>, oneapi::tbb::flow::rejecting> 48 typedef oneapi::tbb::flow::buffer_node<bin> bin_buffer; 51 function_node<bin, oneapi::tbb::flow::continue_msg, oneapi::tbb::flow::rejecting> 79 bin my_bin; // the current bin that this bin_filler is packing 233 oneapi::tbb::flow::continue_msg operator()(bin b) { in operator ()()
|
| /oneTBB/cmake/ |
| H A D | config_generation.cmake | 89 …# .dll - installed to <prefix>/bin or <prefix>/redist and are passed as IMPORTED_LOCATION_<CONFIG>… 94 …{_tbb_intel_arch}/\${_tbb_subdir}\" \"bin\${_tbb_arch_suffix}/\${_tbb_subdir}\" \"bin\${_tbb_arch_… 102 …{_tbb_intel_arch}/\${_tbb_subdir}\" \"bin\${_tbb_arch_suffix}/\${_tbb_subdir}\" \"bin\${_tbb_arch_…
|
| /oneTBB/cmake/toolchains/ |
| H A D | riscv64.cmake | 26 set(CMAKE_C_COMPILER ${CMAKE_FIND_ROOT_PATH}/bin/riscv64-unknown-linux-gnu-clang) 27 set(CMAKE_CXX_COMPILER ${CMAKE_FIND_ROOT_PATH}/bin/riscv64-unknown-linux-gnu-clang++) 28 set(CMAKE_LINKER ${CMAKE_FIND_ROOT_PATH}/bin/riscv64-unknown-linux-gnu-ld)
|
| H A D | mips.cmake | 25 set(CMAKE_C_COMPILER ${CMAKE_FIND_ROOT_PATH}/bin/mips-img-linux-gnu-gcc) 26 set(CMAKE_CXX_COMPILER ${CMAKE_FIND_ROOT_PATH}/bin/mips-img-linux-gnu-g++) 27 set(CMAKE_LINKER ${CMAKE_FIND_ROOT_PATH}/bin/mips-img-linux-gnu-ld)
|
| /oneTBB/integration/windows/env/ |
| H A D | vars.bat | 58 if exist "%TBBROOT%\bin%TBB_ARCH_SUFFIX%" ( 59 set "TBB_BIN_DIR=%TBBROOT%\bin%TBB_ARCH_SUFFIX%" 65 :: Couldn't parse TBBROOT/bin, unset variable
|
| /oneTBB/integration/windows/oneapi/ |
| H A D | vars.bat | 51 if exist "%TBBROOT%\bin%ARCH_SUFFIX%\%TBB_TARGET_VS%\tbb12.dll" ( 52 set "TBB_DLL_PATH=%TBBROOT%\bin%ARCH_SUFFIX%\%TBB_TARGET_VS%"
|
| /oneTBB/integration/cmake/ |
| H A D | generate_vars.cmake | 46 set(BINARY_PATH_REPLACEMENT "%TBBROOT%\\bin")
|
| /oneTBB/test/tbbmalloc/ |
| H A D | test_malloc_whitebox.cpp | 893 REQUIRE_MESSAGE(!(tlsCurr->bin[i].activeBlk), "Some bin was not cleaned."); in operator ()() 1059 …rgeCacheTypeProps> cacheBinModel(defaultMemPool->extMemPool.loc.largeCache.bin[binIdx], allocation… in LOCModelTester() 1571 …return (loc->hugeCache.bin[idx].cachedSize.load(std::memory_order_relaxed) == 0 && loc->hugeCache.… in cacheBinEmpty() 1574 return (loc->hugeCache.bin[idx].cachedSize.load(std::memory_order_relaxed) != 0 && in objectInCacheBin() 1575 loc->hugeCache.bin[idx].cachedSize.load(std::memory_order_relaxed) % size == 0); in objectInCacheBin()
|
| /oneTBB/test/ |
| H A D | CMakeLists.txt | 360 PATH_SUFFIXES bin)
|
| /oneTBB/doc/ |
| H A D | Doxyfile.in | 2172 # The default file (with absolute path) is: /usr/bin/perl. 2174 PERL_PATH = /usr/bin/perl
|