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: usize
The size class in bytes.
file_size: usize
The size of the file in bytes.
allocated_size: usize
Size of the file on disk in bytes.
mapped: usize
Number of mapped bytes, if different from dirty
. Consult man 7 numa
for details.
active: usize
Number of active bytes. Consult man 7 numa
for details.
dirty: usize
Number of dirty bytes. Consult man 7 numa
for details.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileStats
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