pub struct MegakernelRuntimeEvidence {
pub schema_version: u32,
pub resident_device_bytes: u64,
pub host_copy_bytes: u64,
pub host_copy_avoided_bytes: u64,
pub ring_occupancy: RingOccupancy,
pub control_decode_ns: u64,
pub ring_decode_ns: u64,
pub coverage: RuntimeEvidenceMetricCoverage,
}Expand description
Runtime-owned IO/residency evidence envelope for release and benchmark artifacts.
Fields§
§schema_version: u32Runtime evidence schema version.
resident_device_bytes: u64Device-resident bytes retained by the dispatch family.
host_copy_bytes: u64Host-visible copy bytes still required for this evidence sample.
host_copy_avoided_bytes: u64Host copy bytes avoided by resident handles or device-side IO.
ring_occupancy: RingOccupancyRing occupancy snapshot.
control_decode_ns: u64Control-buffer decode cost in nanoseconds.
ring_decode_ns: u64Ring decode cost in nanoseconds.
coverage: RuntimeEvidenceMetricCoverageRequired metric-family coverage.
Implementations§
Source§impl MegakernelRuntimeEvidence
impl MegakernelRuntimeEvidence
Sourcepub const fn complete(
resident_device_bytes: u64,
host_copy_bytes: u64,
host_copy_avoided_bytes: u64,
ring_occupancy: RingOccupancy,
control_decode_ns: u64,
ring_decode_ns: u64,
) -> Self
pub const fn complete( resident_device_bytes: u64, host_copy_bytes: u64, host_copy_avoided_bytes: u64, ring_occupancy: RingOccupancy, control_decode_ns: u64, ring_decode_ns: u64, ) -> Self
Construct a complete runtime evidence envelope.
Sourcepub fn missing_metric_families(&self) -> Vec<RuntimeEvidenceMetricFamily>
pub fn missing_metric_families(&self) -> Vec<RuntimeEvidenceMetricFamily>
Metric families missing from this evidence envelope.
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
Whether all required runtime evidence families are present.
Sourcepub fn host_copy_avoidance_bps(&self) -> u16
pub fn host_copy_avoidance_bps(&self) -> u16
Avoided host-copy bytes in basis points of total relevant copy volume.
Trait Implementations§
Source§impl Clone for MegakernelRuntimeEvidence
impl Clone for MegakernelRuntimeEvidence
Source§fn clone(&self) -> MegakernelRuntimeEvidence
fn clone(&self) -> MegakernelRuntimeEvidence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MegakernelRuntimeEvidence
impl Debug for MegakernelRuntimeEvidence
impl Eq for MegakernelRuntimeEvidence
Source§impl PartialEq for MegakernelRuntimeEvidence
impl PartialEq for MegakernelRuntimeEvidence
Source§fn eq(&self, other: &MegakernelRuntimeEvidence) -> bool
fn eq(&self, other: &MegakernelRuntimeEvidence) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MegakernelRuntimeEvidence
Auto Trait Implementations§
impl Freeze for MegakernelRuntimeEvidence
impl RefUnwindSafe for MegakernelRuntimeEvidence
impl Send for MegakernelRuntimeEvidence
impl Sync for MegakernelRuntimeEvidence
impl Unpin for MegakernelRuntimeEvidence
impl UnsafeUnpin for MegakernelRuntimeEvidence
impl UnwindSafe for MegakernelRuntimeEvidence
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.