peakObservedAgeSecondsFor method

int peakObservedAgeSecondsFor(
  1. String name
)

Monotonic high-water mark of lastObservedAgeSecondsFor since the last resetCaptureState. The long-lived bracket validator's 'max' axis reduction cross-checks expectedMagnitude.observed against this value; capture screens read the name-scoped value so the exported magnitude matches the scenario's intended bucket.

Implementation

int peakObservedAgeSecondsFor(String name) =>
    _peakObservedAgeSecondsByName[name] ?? 0;