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;
266 fPerFlushTimestamp = GrStdSteadyClock::time_point::min(); in doPreFlushProcessing()270 const GrStdSteadyClock::time_point& purgeTime) { in purgeEntriesOlderThan()275 ? GrStdSteadyClock::time_point::max() in purgeEntriesOlderThan()
69 void purgeCacheEntriesOlderThan(GrProxyProvider*, const GrStdSteadyClock::time_point&);
299 GrProxyProvider* proxyProvider, const GrStdSteadyClock::time_point& purgeTime) { in purgeCacheEntriesOlderThan()
63 fResource->fTimeWhenBecamePurgeable = GrStdSteadyClock::now(); in setTimeWhenResourceBecomePurgeable()69 GrStdSteadyClock::time_point timeWhenResourceBecamePurgeable() { in timeWhenResourceBecamePurgeable()
177 void purgeResourcesNotUsedSince(GrStdSteadyClock::time_point);
549 void GrResourceCache::purgeResourcesNotUsedSince(GrStdSteadyClock::time_point purgeTime) { in purgeResourcesNotUsedSince()551 const GrStdSteadyClock::time_point resourceTime = in purgeResourcesNotUsedSince()
238 auto purgeTime = GrStdSteadyClock::now() - msNotUsed; in performDeferredCleanup()
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()
84 void dropUniqueRefsOlderThan(GrStdSteadyClock::time_point purgeTime) SK_EXCLUDES(fSpinLock);270 GrStdSteadyClock::time_point fLastAccess;
167 void purgeResourcesNotUsedSince(GrStdSteadyClock::time_point purgeTime,280 void purgeUnlockedResources(const GrStdSteadyClock::time_point* purgeTime,
300 GrStdSteadyClock::time_point fTimeWhenBecamePurgeable;
567 void GrResourceCache::purgeUnlockedResources(const GrStdSteadyClock::time_point* purgeTime, in purgeUnlockedResources()582 const GrStdSteadyClock::time_point resourceTime = in purgeUnlockedResources()612 const GrStdSteadyClock::time_point resourceTime = in purgeUnlockedResources()
332 auto purgeTime = GrStdSteadyClock::now() - msNotUsed; in performDeferredCleanup()
339 GrStdSteadyClock::time_point fTimeWhenBecamePurgeable;
1199 std::this_thread::sleep_for(GrStdSteadyClock::duration(5)); in test_time_purge()1200 auto result = GrStdSteadyClock::now(); in test_time_purge()1202 std::this_thread::sleep_for(GrStdSteadyClock::duration(5)); in test_time_purge()1207 std::unique_ptr<GrStdSteadyClock::time_point[]> timeStamps( in test_time_purge()1208 new GrStdSteadyClock::time_point[cnt]); in test_time_purge()
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()
1345 auto firstTime = GrStdSteadyClock::now(); in test_13()1359 auto secondTime = GrStdSteadyClock::now(); in test_13()
26 using GrStdSteadyClock = std::chrono::monotonic_clock; variable28 using GrStdSteadyClock = std::chrono::steady_clock; variable
27 using GrStdSteadyClock = std::chrono::monotonic_clock; variable29 using GrStdSteadyClock = std::chrono::steady_clock; variable