Expand description
Host-side telemetry decoders for the megakernel ring and control buffers.
The runtime already exposes low-level helpers such as
read_done_count, read_epoch, and read_metrics. This module adds a
single structured snapshot surface useful for wrappers like VyreOffload.
Structs§
- Control
Snapshot - Structured view of the control buffer.
- Count
MinSketch - Fixed-depth Count-Min sketch for compact megakernel telemetry.
- Resident
Runtime Counters - Aggregated runtime performance counters derived from one telemetry snapshot.
- Resident
Runtime Evidence - Runtime-owned IO/residency evidence envelope for release and benchmark artifacts.
- Resident
Watchdog Snapshot - Watchdog view computed from two host-visible telemetry snapshots.
- Ring
Occupancy - Slot occupancy counts across the ring.
- Ring
Slot Snapshot - Snapshot of one ring slot.
- Ring
Telemetry - Combined host-visible telemetry for a megakernel run.
- Runtime
Evidence Metric Coverage - Coverage bits for the required runtime evidence metric families.
- Sketch
Telemetry - Compact sketch summary derived from a megakernel telemetry snapshot.
- Sketch
Telemetry Scratch - Caller-owned scratch for repeated compact telemetry sketches.
- Telemetry
Decode Capacity Evidence - Evidence that a telemetry decode used caller-owned output and scratch buffers.
- Telemetry
Decode Scratch - Caller-owned scratch for repeated megakernel telemetry decodes.
- Window
Telemetry - Aggregated telemetry for one ticketed route window.
Enums§
- Ring
Status - Decoded top-level ring slot state.
- Runtime
Evidence Metric Family - Required metric families for runtime IO/residency evidence.
Constants§
- RUNTIME_
IO_ EVIDENCE_ SCHEMA_ VERSION - Schema version for IO/runtime evidence emitted from megakernel telemetry.
- TELEMETRY_
DECODE_ CAPACITY_ SCHEMA_ VERSION - Schema version for telemetry decode capacity evidence.