Home
last modified time | relevance | path

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

/oneTBB/src/tbbmalloc/
H A Dlarge_objects.h160 std::atomic<intptr_t> ageThreshold; variable
194 intptr_t threshold = ageThreshold.load(std::memory_order_relaxed); in decreaseThreshold()
196ageThreshold.store((threshold + meanHitRange.load(std::memory_order_relaxed)) / 2, std::memory_ord… in decreaseThreshold()
225ageThreshold.store(Props::OnMissFactor * (currTime - lastCleanedAge), std::memory_order_relaxed); in updateAgeThreshold()
H A Dlarge_objects.cpp489 …(intptr_t)(currTime - oldest.load(std::memory_order_relaxed)) > ageThreshold.load(std::memory_orde… in cleanToThreshold()
612 intptr_t threshold = ageThreshold.load(std::memory_order_relaxed); in forgetOutdatedState()
620 ageThreshold.store(0, std::memory_order_relaxed); in forgetOutdatedState()
631 …(intptr_t)(currTime - last.load(std::memory_order_relaxed)->age) < ageThreshold.load(std::memory_o… in cleanToThreshold()
647 …(intptr_t)(currTime - last.load(std::memory_order_relaxed)->age) > ageThreshold.load(std::memory_o… in cleanToThreshold()
/oneTBB/test/tbbmalloc/
H A Dtest_malloc_whitebox.cpp945 intptr_t threshold = cacheBinModel.ageThreshold.load(std::memory_order_relaxed); in doCleanup()
948 cacheBinModel.ageThreshold.store(threshold, std::memory_order_relaxed); in doCleanup()
965 …cacheBinModel.ageThreshold.store(cacheBin.ageThreshold.load(std::memory_order_relaxed), std::memor… in CacheBinModel()
976 intptr_t threshold = cacheBinModel.ageThreshold.load(std::memory_order_relaxed); in get()
980 cacheBinModel.ageThreshold.store(0, std::memory_order_relaxed); in get()
984 …cacheBinModel.ageThreshold.store(Props::OnMissFactor * (currTime - cacheBinModel.lastCleanedAge), … in get()
1033 …CHECK_FAST(cacheBinModel.ageThreshold.load(std::memory_order_relaxed) == cacheBin.ageThreshold.loa… in check()