pub struct MegakernelReport {
pub items_processed: u64,
pub items_remaining: u64,
pub wall_time: Duration,
pub queue_plan_ns: u64,
pub queue_publish_ns: u64,
pub backend_dispatch_ns: u64,
pub lineage_ns: u64,
pub deduped_items: u64,
pub published_items: u64,
pub lineage_items: u64,
pub telemetry: MegakernelTelemetry,
pub region_lineage: Vec<u32>,
}Expand description
Summary stats from one megakernel run.
Fields§
§items_processed: u64Items the workers processed before exiting.
items_remaining: u64Items still queued when max_wall_time fired.
wall_time: DurationWall-clock time spent.
queue_plan_ns: u64Host-side time spent shaping the queue before publication: dedupe, fusion planning, and launch-geometry preparation.
queue_publish_ns: u64Host-side time spent encoding protocol buffers and publishing queued work into ring slots.
backend_dispatch_ns: u64Host-observed backend dispatch latency after queue publication.
lineage_ns: u64Host-observed time spent computing optional region lineage after dispatch. Zero when lineage tracking is skipped.
deduped_items: u64Logical work items removed by queue dedupe before publication.
published_items: u64Work items actually published into megakernel ring slots.
lineage_items: u64Number of work items included in region lineage tracking.
telemetry: MegakernelTelemetryProduction counters for performance gates and launch tuning.
region_lineage: Vec<u32>Per-output provenance lineage bitsets, one entry per fused
region in dispatch order. lineage[i] is a 32-bit set of
source-rule IDs that contributed to fused-region i’s output,
computed via the substrate
vyre_self_substrate::scallop_provenance Datalog
closure on the rule-derivation graph. Empty Vec when
provenance tracking was disabled for the dispatch.
Lets observability collectors (Tempo, Honeycomb, Prometheus) attribute every megakernel output back to the source rules that derived it - without this, fused-region outputs lose their lineage.
Trait Implementations§
Source§impl Clone for MegakernelReport
impl Clone for MegakernelReport
Source§fn clone(&self) -> MegakernelReport
fn clone(&self) -> MegakernelReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more