pub struct MonitorStats {
pub elapsed_secs: f64,
pub peak_memory_mb: usize,
pub operation_count: u64,
pub sync_count: u64,
pub ops_per_sec: f64,
}Expand description
Snapshot of system monitor performance statistics
Fields§
§elapsed_secs: f64Total elapsed time in seconds
peak_memory_mb: usizePeak memory usage in megabytes
operation_count: u64Total GPU operations recorded
sync_count: u64Total GPU sync operations
ops_per_sec: f64Average operations per second
Trait Implementations§
Source§impl Clone for MonitorStats
impl Clone for MonitorStats
Source§fn clone(&self) -> MonitorStats
fn clone(&self) -> MonitorStats
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 MonitorStats
impl Debug for MonitorStats
Auto Trait Implementations§
impl Freeze for MonitorStats
impl RefUnwindSafe for MonitorStats
impl Send for MonitorStats
impl Sync for MonitorStats
impl Unpin for MonitorStats
impl UnsafeUnpin for MonitorStats
impl UnwindSafe for MonitorStats
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