pub struct FileStats {
pub size_class: usize,
pub file_size: usize,
pub allocated_size: usize,
pub mapped: usize,
pub active: usize,
pub dirty: usize,
}Expand description
Statistics per size class and backing file.
Fields§
§size_class: usizeThe size class in bytes.
file_size: usizeThe size of the file in bytes.
allocated_size: usizeSize of the file on disk in bytes.
mapped: usizeNumber of mapped bytes, if different from dirty. Consult man 7 numa for details.
active: usizeNumber of active bytes. Consult man 7 numa for details.
dirty: usizeNumber of dirty bytes. Consult man 7 numa for details.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FileStats
impl Send for FileStats
impl Sync for FileStats
impl Unpin for FileStats
impl UnwindSafe for FileStats
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