MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / addCacheAccessInfo

Method addCacheAccessInfo

Engine/RenderStats.cpp:233–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233void
234NodeRenderStats::addCacheAccessInfo(bool isCacheMiss,
235 bool hasDownscaled)
236{
237 if (isCacheMiss) {
238 ++_imp->nbCacheMisses;
239 } else {
240 ++_imp->nbCacheHit;
241 if (hasDownscaled) {
242 ++_imp->nbCacheHitButDownscaledImages;
243 }
244 }
245}
246
247void
248NodeRenderStats::getCacheAccessInfos(int* nbCacheMisses,

Callers 1

addCacheInfosForNodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected