pub struct Memory {
pub rss_total: u64,
pub virt_total: u64,
pub minor_faults: u64,
pub major_faults: u64,
}
Expand description
Statistics related to memory, vm
Fields§
§rss_total: u64
Accumulated RSS usage in duration of a task, in MBytes-usecs
virt_total: u64
Accumulated virtual memory usage in duration of a task
minor_faults: u64
Minor faults count
major_faults: u64
Major faults count
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Memory
impl RefUnwindSafe for Memory
impl Send for Memory
impl Sync for Memory
impl Unpin for Memory
impl UnwindSafe for Memory
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