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