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

Method addCacheInfosForNode

Engine/RenderStats.cpp:405–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405void
406RenderStats::addCacheInfosForNode(const NodePtr& node,
407 bool isCacheMiss,
408 bool hasDownscaled)
409{
410 QMutexLocker k(&_imp->lock);
411
412 assert(_imp->doNodesProfiling);
413
414 NodeRenderStats& stats = _imp->findOrCreateNodeStats(node);
415 stats.addCacheAccessInfo(isCacheMiss, hasDownscaled);
416}
417
418void
419RenderStats::addRenderInfosForNode(const NodePtr& node,

Calls 1

addCacheAccessInfoMethod · 0.80

Tested by

no test coverage detected