Struct furiosa_smi_rs::MemoryUtilization
source · pub struct MemoryUtilization { /* private fields */ }
Expand description
A struct for memory utilization
Implementations§
source§impl MemoryUtilization
impl MemoryUtilization
sourcepub fn total_bytes(&self) -> u64
pub fn total_bytes(&self) -> u64
Returns the total bytes of memory.
sourcepub fn in_use_bytes(&self) -> u64
pub fn in_use_bytes(&self) -> u64
Returns the memory bytes currently in use.
Auto Trait Implementations§
impl Freeze for MemoryUtilization
impl RefUnwindSafe for MemoryUtilization
impl Send for MemoryUtilization
impl Sync for MemoryUtilization
impl Unpin for MemoryUtilization
impl UnwindSafe for MemoryUtilization
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