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

Method addCacheInfosForNode

Engine/RenderStats.cpp:404–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Calls 1

addCacheAccessInfoMethod · 0.80

Tested by

no test coverage detected