Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
StyleCascadeMetrics.h File Reference
#include <chrono>
#include <cstdint>
#include <ostream>
Include dependency graph for StyleCascadeMetrics.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::svg::components::StyleCascadeCounters
 Exact counts of the style cascade work done for one document. More...
struct  donner::svg::components::StyleCascadeMetrics
 Style cascade instrumentation kept in a document registry's context by the style system. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
namespace  donner::svg
 Donner SVG library, which can load, manipulate and render SVG files.
namespace  donner::svg::components
 Contains the implementation of the Donner ECS,.

Class Documentation

◆ donner::svg::components::StyleCascadeMetrics

struct donner::svg::components::StyleCascadeMetrics

Style cascade instrumentation kept in a document registry's context by the style system.

Class Members
uint64_t abandonedStylePasses = 0 Attempted preparations whose owner fell back to serial matching.
int activeTimedCalls = 0 Style calls currently timed on this registry, so nested calls are not timed twice.
uint64_t admittedStyleTasks = 0 Tasks admitted to the flat style scope.
StyleCascadeCounters counters Exact work counts.
uint64_t declinedStyleTasks = 0 Ready ranges processed inline after the scheduler declined a spawn.
uint64_t preparedWarningPhases = 0 Nonempty per-element warning phases emitted from matching worker buffers.
uint64_t replayedSelectorTraces = 0 Accepted worker selector traces over scheduled passes.
uint64_t reusedCanonicalHits = 0 Canonical hits served by an unchanged, already-referenced clock entry.
uint64_t scheduledPasses = 0 Large static passes dispatched to a scheduler.
nanoseconds styleTime {0} Wall-clock time inside the outermost whole-document and entity-list style calls. Unlike counters it varies between runs and machines, and a single entity's style computed outside those calls is counted in counters but not timed.