pub struct MegakernelDispatchStats {Show 13 fields
pub input_bytes: u64,
pub output_bytes: u64,
pub readback_bytes: u64,
pub bytes_moved: u64,
pub device_allocation_bytes: u64,
pub device_allocation_events: u32,
pub latency_ns: u64,
pub output_buffers: u32,
pub resident_resource_rows: u32,
pub resident_resource_handles: u32,
pub kernel_launches: u32,
pub sync_points: u32,
pub recovered_after_device_loss: bool,
}Expand description
Per-dispatch host-side runtime instrumentation.
Fields§
§input_bytes: u64Bytes supplied to the backend across control, ring, debug, and IO buffers.
output_bytes: u64Bytes returned by the backend across all output buffers.
readback_bytes: u64Host-visible readback bytes returned by this dispatch.
bytes_moved: u64Total host-visible bytes moved for this dispatch.
device_allocation_bytes: u64Conservative host-visible device allocation volume for this dispatch.
device_allocation_events: u32Conservative count of fresh host-visible device buffer allocations.
latency_ns: u64Host-observed dispatch latency in nanoseconds.
output_buffers: u32Number of output buffers returned by the backend.
resident_resource_rows: u32Number of resident megakernel resource rows submitted to the backend.
resident_resource_handles: u32Number of resident resource handles submitted across all rows.
kernel_launches: u32Number of kernel launches issued for this logical megakernel dispatch.
sync_points: u32Number of host-visible synchronization points needed to collect outputs.
recovered_after_device_loss: boolTrue when the first dispatch failed with device-loss symptoms and the runtime rebuilt the compiled pipeline before retrying.
Implementations§
Source§impl MegakernelDispatchStats
impl MegakernelDispatchStats
Sourcepub fn output_bytes_per_second(&self) -> u64
pub fn output_bytes_per_second(&self) -> u64
Throughput over returned output bytes in bytes per second.
Sourcepub fn readback_bytes_per_second(&self) -> u64
pub fn readback_bytes_per_second(&self) -> u64
Throughput over host-visible readback bytes in bytes per second.
Sourcepub fn bytes_moved_per_second(&self) -> u64
pub fn bytes_moved_per_second(&self) -> u64
Total host-visible byte movement rate in bytes per second.
Sourcepub fn device_allocation_bytes_per_second(&self) -> u64
pub fn device_allocation_bytes_per_second(&self) -> u64
Conservative allocation volume rate in bytes per second.
Trait Implementations§
Source§impl Clone for MegakernelDispatchStats
impl Clone for MegakernelDispatchStats
Source§fn clone(&self) -> MegakernelDispatchStats
fn clone(&self) -> MegakernelDispatchStats
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for MegakernelDispatchStats
Source§impl Debug for MegakernelDispatchStats
impl Debug for MegakernelDispatchStats
impl Eq for MegakernelDispatchStats
Source§impl PartialEq for MegakernelDispatchStats
impl PartialEq for MegakernelDispatchStats
Source§fn eq(&self, other: &MegakernelDispatchStats) -> bool
fn eq(&self, other: &MegakernelDispatchStats) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MegakernelDispatchStats
Auto Trait Implementations§
impl Freeze for MegakernelDispatchStats
impl RefUnwindSafe for MegakernelDispatchStats
impl Send for MegakernelDispatchStats
impl Sync for MegakernelDispatchStats
impl Unpin for MegakernelDispatchStats
impl UnsafeUnpin for MegakernelDispatchStats
impl UnwindSafe for MegakernelDispatchStats
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
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
key and return true if they are equal.