| 402 | } |
| 403 | |
| 404 | void |
| 405 | RenderStats::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 | |
| 417 | void |
| 418 | RenderStats::addRenderInfosForNode(const NodePtr& node, |
no test coverage detected