Searched refs:GrStdSteadyClock (Results 1 – 10 of 10) sorted by relevance
76 fResource->fTimeWhenBecamePurgeable = GrStdSteadyClock::now(); in setTimeWhenResourceBecomePurgeable()82 GrStdSteadyClock::time_point timeWhenResourceBecamePurgeable() { in timeWhenResourceBecamePurgeable()
78 void GrThreadSafeCache::dropUniqueRefsOlderThan(GrStdSteadyClock::time_point purgeTime) { in dropUniqueRefsOlderThan()105 entry->fLastAccess = GrStdSteadyClock::now(); in makeExistingEntryMRU()163 entry->fLastAccess = GrStdSteadyClock::now(); in makeNewEntryMRU()
83 void dropUniqueRefsOlderThan(GrStdSteadyClock::time_point purgeTime) SK_EXCLUDES(fSpinLock);269 GrStdSteadyClock::time_point fLastAccess;
200 void purgeResourcesNotUsedSince(GrStdSteadyClock::time_point purgeTime,315 void purgeUnlockedResources(const GrStdSteadyClock::time_point* purgeTime,
399 GrStdSteadyClock::time_point fTimeWhenBecamePurgeable;
668 void GrResourceCache::purgeUnlockedResources(const GrStdSteadyClock::time_point* purgeTime, in purgeUnlockedResources()683 const GrStdSteadyClock::time_point resourceTime = in purgeUnlockedResources()713 const GrStdSteadyClock::time_point resourceTime = in purgeUnlockedResources()
381 auto purgeTime = GrStdSteadyClock::now() - msNotUsed; in performDeferredCleanup()
1234 std::this_thread::sleep_for(GrStdSteadyClock::duration(5)); in test_time_purge()1235 auto result = GrStdSteadyClock::now(); in test_time_purge()1237 std::this_thread::sleep_for(GrStdSteadyClock::duration(5)); in test_time_purge()1242 std::unique_ptr<GrStdSteadyClock::time_point[]> timeStamps( in test_time_purge()1243 new GrStdSteadyClock::time_point[cnt]); in test_time_purge()
1353 auto firstTime = GrStdSteadyClock::now(); in test_13()1367 auto secondTime = GrStdSteadyClock::now(); in test_13()
28 using GrStdSteadyClock = std::chrono::monotonic_clock; variable30 using GrStdSteadyClock = std::chrono::steady_clock; variable