pub struct ExecutionStats {
pub kernels_launched: usize,
pub bytes_copied: usize,
pub bytes_set: usize,
pub events_recorded: usize,
pub events_waited: usize,
pub host_callbacks: usize,
pub barriers: usize,
pub steps_on_stream0: usize,
pub steps_on_other_streams: usize,
}Expand description
Statistics collected during a sequential execution run.
Fields§
§kernels_launched: usizeNumber of kernel launches executed (after fusion).
bytes_copied: usizeTotal bytes copied (memcpy steps).
bytes_set: usizeTotal bytes set (memset steps).
events_recorded: usizeNumber of event records issued.
events_waited: usizeNumber of event waits satisfied.
host_callbacks: usizeNumber of host callbacks invoked.
barriers: usizeNumber of barrier steps.
steps_on_stream0: usizeNumber of steps that ran on stream 0.
steps_on_other_streams: usizeNumber of steps that ran on non-zero streams.
Implementations§
Source§impl ExecutionStats
impl ExecutionStats
Sourcepub fn total_steps(&self) -> usize
pub fn total_steps(&self) -> usize
Total steps executed.
Trait Implementations§
Source§impl Clone for ExecutionStats
impl Clone for ExecutionStats
Source§fn clone(&self) -> ExecutionStats
fn clone(&self) -> ExecutionStats
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 ExecutionStats
impl Debug for ExecutionStats
Source§impl Default for ExecutionStats
impl Default for ExecutionStats
Source§fn default() -> ExecutionStats
fn default() -> ExecutionStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExecutionStats
impl RefUnwindSafe for ExecutionStats
impl Send for ExecutionStats
impl Sync for ExecutionStats
impl Unpin for ExecutionStats
impl UnsafeUnpin for ExecutionStats
impl UnwindSafe for ExecutionStats
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