pub struct TimedDispatchResult {
pub outputs: OutputBuffers,
pub wall_ns: u64,
pub device_ns: Option<u64>,
pub enqueue_ns: Option<u64>,
pub wait_ns: Option<u64>,
}Expand description
Output plus timing captured by a backend-owned dispatch path.
wall_ns is always populated by the shared default implementation.
device_ns is populated only when a backend can measure elapsed device
stream time without crossing the driver boundary.
Fields§
§outputs: OutputBuffersOutput buffers in the same order as crate::backend::VyreBackend::dispatch.
wall_ns: u64Host-observed dispatch duration.
device_ns: Option<u64>Device-observed elapsed time when the backend exposes a timer.
enqueue_ns: Option<u64>Host time spent enqueueing backend work before the caller begins waiting for completion.
wait_ns: Option<u64>Host time spent waiting for completion and collecting output buffers.
Trait Implementations§
Source§impl Clone for TimedDispatchResult
impl Clone for TimedDispatchResult
Source§fn clone(&self) -> TimedDispatchResult
fn clone(&self) -> TimedDispatchResult
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 TimedDispatchResult
impl Debug for TimedDispatchResult
impl Eq for TimedDispatchResult
Source§impl PartialEq for TimedDispatchResult
impl PartialEq for TimedDispatchResult
Source§fn eq(&self, other: &TimedDispatchResult) -> bool
fn eq(&self, other: &TimedDispatchResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TimedDispatchResult
Auto Trait Implementations§
impl Freeze for TimedDispatchResult
impl RefUnwindSafe for TimedDispatchResult
impl Send for TimedDispatchResult
impl Sync for TimedDispatchResult
impl Unpin for TimedDispatchResult
impl UnsafeUnpin for TimedDispatchResult
impl UnwindSafe for TimedDispatchResult
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.