Searched refs:GrStdSteadyClock (Results 1 – 21 of 21) sorted by relevance
114 void purgeEntriesOlderThan(GrProxyProvider*, const GrStdSteadyClock::time_point& purgeTime);153 GrStdSteadyClock::time_point quickPerFlushTimestamp() { in quickPerFlushTimestamp()155 if (GrStdSteadyClock::time_point::min() == fPerFlushTimestamp) { in quickPerFlushTimestamp()156 fPerFlushTimestamp = GrStdSteadyClock::now(); in quickPerFlushTimestamp()176 GrStdSteadyClock::time_point fPerFlushTimestamp = GrStdSteadyClock::time_point::min();255 GrStdSteadyClock::time_point fTimestamp;
269 fPerFlushTimestamp = GrStdSteadyClock::time_point::min(); in doPreFlushProcessing()273 const GrStdSteadyClock::time_point& purgeTime) { in purgeEntriesOlderThan()278 ? GrStdSteadyClock::time_point::max() in purgeEntriesOlderThan()
72 void purgeCacheEntriesOlderThan(GrProxyProvider*, const GrStdSteadyClock::time_point&);
338 GrProxyProvider* proxyProvider, const GrStdSteadyClock::time_point& purgeTime) { in purgeCacheEntriesOlderThan()
69 fResource->fTimeWhenBecamePurgeable = GrStdSteadyClock::now(); in setTimeWhenResourceBecomePurgeable()75 GrStdSteadyClock::time_point timeWhenResourceBecamePurgeable() { in timeWhenResourceBecamePurgeable()
196 void purgeResourcesNotUsedSince(GrStdSteadyClock::time_point);
197 auto purgeTime = GrStdSteadyClock::now() - msNotUsed; in performDeferredCleanup()
695 void GrResourceCache::purgeResourcesNotUsedSince(GrStdSteadyClock::time_point purgeTime) { in purgeResourcesNotUsedSince()697 const GrStdSteadyClock::time_point resourceTime = in purgeResourcesNotUsedSince()
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;
194 void purgeResourcesNotUsedSince(GrStdSteadyClock::time_point purgeTime,309 void purgeUnlockedResources(const GrStdSteadyClock::time_point* purgeTime,
392 GrStdSteadyClock::time_point fTimeWhenBecamePurgeable;
652 void GrResourceCache::purgeUnlockedResources(const GrStdSteadyClock::time_point* purgeTime, in purgeUnlockedResources()667 const GrStdSteadyClock::time_point resourceTime = in purgeUnlockedResources()697 const GrStdSteadyClock::time_point resourceTime = in purgeUnlockedResources()
371 auto purgeTime = GrStdSteadyClock::now() - msNotUsed; in performDeferredCleanup()
425 GrStdSteadyClock::time_point fTimeWhenBecamePurgeable;
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()
1197 std::this_thread::sleep_for(GrStdSteadyClock::duration(5)); in test_time_purge()1198 auto result = GrStdSteadyClock::now(); in test_time_purge()1200 std::this_thread::sleep_for(GrStdSteadyClock::duration(5)); in test_time_purge()1205 std::unique_ptr<GrStdSteadyClock::time_point[]> timeStamps( in test_time_purge()1206 new GrStdSteadyClock::time_point[cnt]); in test_time_purge()
28 using GrStdSteadyClock = std::chrono::monotonic_clock; variable30 using GrStdSteadyClock = std::chrono::steady_clock; variable
29 using GrStdSteadyClock = std::chrono::monotonic_clock; variable31 using GrStdSteadyClock = std::chrono::steady_clock; variable