pub struct OverallMetrics {
pub total_kernel_time: Duration,
pub total_transfer_time: Duration,
pub total_kernels: u64,
pub total_transfers: u64,
pub total_bytes_transferred: u64,
}Expand description
Overall metrics
Fields§
§total_kernel_time: DurationTotal kernel execution time
total_transfer_time: DurationTotal memory transfer time
total_kernels: u64Total number of kernels executed
total_transfers: u64Total number of transfers
total_bytes_transferred: u64Total bytes transferred
Trait Implementations§
Source§impl Clone for OverallMetrics
impl Clone for OverallMetrics
Source§fn clone(&self) -> OverallMetrics
fn clone(&self) -> OverallMetrics
Returns a duplicate of the value. Read more
1.0.0 · 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 OverallMetrics
impl Debug for OverallMetrics
Source§impl Default for OverallMetrics
impl Default for OverallMetrics
Source§fn default() -> OverallMetrics
fn default() -> OverallMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OverallMetrics
impl RefUnwindSafe for OverallMetrics
impl Send for OverallMetrics
impl Sync for OverallMetrics
impl Unpin for OverallMetrics
impl UnsafeUnpin for OverallMetrics
impl UnwindSafe for OverallMetrics
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