Donner 0.5.1
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::svg::compositor::ComplexityBucketerStats Struct Reference

Stats produced by ComplexityBucketer::reconcile(). More...

#include "donner/svg/compositor/ComplexityBucketer.h"

Public Attributes

uint32_t entitiesEvaluated = 0
 Entities visited during the cost walk (root plus all descendants reached through the top-level children iteration).
uint32_t candidatesConsidered = 0
 Number of top-level-root-child subtrees evaluated as candidates.
uint32_t bucketsPublished = 0
 Hints newly published this call.
uint32_t bucketsDropped = 0
 Hints removed this call because the candidate no longer qualifies, the entity was destroyed, or the ranking pushed it off the budget.
uint32_t bucketsActive = 0
 Post-reconcile size of the held hints map. Reflects steady state.

Detailed Description

Stats produced by ComplexityBucketer::reconcile().

Tests inspect these to verify the bucketer considered the expected candidates, published the expected hints, and dropped stale ones.

Member Data Documentation

◆ bucketsActive

uint32_t donner::svg::compositor::ComplexityBucketerStats::bucketsActive = 0

Post-reconcile size of the held hints map. Reflects steady state.

◆ bucketsDropped

uint32_t donner::svg::compositor::ComplexityBucketerStats::bucketsDropped = 0

Hints removed this call because the candidate no longer qualifies, the entity was destroyed, or the ranking pushed it off the budget.

◆ bucketsPublished

uint32_t donner::svg::compositor::ComplexityBucketerStats::bucketsPublished = 0

Hints newly published this call.

◆ candidatesConsidered

uint32_t donner::svg::compositor::ComplexityBucketerStats::candidatesConsidered = 0

Number of top-level-root-child subtrees evaluated as candidates.

◆ entitiesEvaluated

uint32_t donner::svg::compositor::ComplexityBucketerStats::entitiesEvaluated = 0

Entities visited during the cost walk (root plus all descendants reached through the top-level children iteration).


The documentation for this struct was generated from the following file: