Skip to main content

Module quality_runtime

Module quality_runtime 

Source
Expand description

Fixed-memory adaptation policy with sustained-load hysteresis and bounded decision receipts. Fixed-memory adaptation policy with sustained-load hysteresis and bounded decision receipts.

Structs§

PerformanceEvidence
Measured presentation performance. The worst observed frame is used so a passing gate is conservative even when the host does not provide percentile statistics.
PerformanceEvidenceAccumulator
Fixed-memory collector for the performance evidence consumed by quality admission. It uses the worst valid frame rather than an optimistic average and rejects changing frame targets.
QualityRuntimeCounters
QualityRuntimePolicy
Fixed-memory state. Receipt storage is a ring; no sample allocates and no policy path changes semantic or simulation state.
QualityRuntimeReceipt
RuntimeQualityConfig
RuntimeQualityDecision
Result for a sample. This policy owns its tier rather than resynchronizing from a potentially stale profile. When a tier changes, update the capability snapshot’s tier_hint and rebuild the profile on the cold path.
RuntimeQualitySample
One bounded presentation-health observation. Missing measurements are explicit and fail safe.

Enums§

QualityChangeReason
QualityRuntimeEvent
ResourcePressure
ThermalState

Constants§

DEFAULT_MINIMUM_DWELL_MS
DEFAULT_OVER_BUDGET_FRAMES
DEFAULT_RECOVERY_FRAMES
RECEIPT_CAPACITY