#[non_exhaustive]pub struct RunStats {
pub output_tiles: u64,
pub materialized_nodes: u64,
pub peak_bytes: u64,
pub reduction: Option<Reduction>,
}Expand description
Counters describing one run, for tests and diagnostics.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.output_tiles: u64Output tiles produced.
materialized_nodes: u64Nodes materialized because of ADR-0009.
peak_bytes: u64Peak bytes held in working sets and materialized buffers.
This is the number the constant-memory guarantee is about: it must not grow with image height for a streaming pipeline.
reduction: Option<Reduction>The source resolution shrink-on-load lowered, if it did.
None means the source decoded at full size — either because it has
one resolution, or because the pipeline was not eligible (see
shrink_on_load). Reported rather than left silent so a pipeline
that expected the fast path and did not get it can be diagnosed
instead of merely being slow.
Filled in by whoever applied the rewrite. Scheduler::run does not
apply it: the rewrite has to happen above the choice of evaluator, or
the scheduler and the reference evaluator would be handed different
graphs and stop agreeing — and their agreement is the oracle the whole
engine is checked against (ROADMAP M2).