Home
last modified time | relevance | path

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

/oneTBB/src/tbbmalloc/
H A Dlarge_objects.cpp81 uintptr_t currTime; member in rml::internal::CacheBinFunctor
142 uintptr_t getCurrTime() const { return currTime; } in getCurrTime()
152 uintptr_t currTime; member
163 uintptr_t currTime; member
262 bin->updateMeanHitRange( currTime - age ); in getFromPutList()
352 uintptr_t currTime = opCast<OpCleanToThreshold>(*op).currTime; in operator ()() local
355 cleanTime = cleanTime < currTime ? currTime : cleanTime; in operator ()()
423 currTime = endTime - 1; in operator ()()
601 CacheBin::forgetOutdatedState(uintptr_t currTime) in forgetOutdatedState() argument
798 || currTime+range < currTime-1 // overflow, 0 is power of 2, do cleanup in isCleanupNeededOnRange()
[all …]
H A Dlarge_objects.h188 …bool cleanToThreshold(ExtMemoryPool *extMemPool, BinBitMask *bitMask, uintptr_t currTime, int idx);
206 void forgetOutdatedState(uintptr_t currTime);
210 LargeMemoryBlock *cleanToThreshold(uintptr_t currTime, BinBitMask *bitMask, int idx);
223 void updateAgeThreshold( uintptr_t currTime ) { in updateAgeThreshold() argument
225 … ageThreshold.store(Props::OnMissFactor * (currTime - lastCleanedAge), std::memory_order_relaxed); in updateAgeThreshold()
344 bool isCleanupNeededOnRange(uintptr_t range, uintptr_t currTime);
347 bool doCleanup(uintptr_t currTime, bool doThreshDecr);
/oneTBB/test/tbbmalloc/
H A Dtest_malloc_whitebox.cpp951 uintptr_t currTime = cacheCurrTime; in doCleanup() local
972 uintptr_t currTime = ++cacheCurrTime; in get() local
975 const uintptr_t sinceLastGet = currTime - cacheBinModel.lastGet; in get()
990 intptr_t hitRange = currTime - obj_age; in get()
999 cacheBinModel.lastGet = currTime; in get()
1001 if ( currTime % rml::internal::cacheCleanupFreq == 0 ) doCleanup(); in get()
1005 uintptr_t currTime = cacheCurrTime; in putList() local
1012 cacheBinModel.lastCleanedAge = ++currTime; in putList()
1013 cleanUpNeeded |= currTime % rml::internal::cacheCleanupFreq == 0; in putList()
1018 currTime+=1; in putList()
[all …]