pub struct LgAllocStats {
pub size_class: Vec<(usize, SizeClassStats)>,
pub file: Vec<(usize, Result<FileStats>)>,
pub map: Option<Vec<(usize, MapStats)>>,
}
Expand description
Statistics about lgalloc’s internal behavior.
Fields§
§size_class: Vec<(usize, SizeClassStats)>
Per size-class statistics.
file: Vec<(usize, Result<FileStats>)>
Per size-class and backing file statistics. Each entry identifies the size class it describes, and there can be multiple entries for each size class.
map: Option<Vec<(usize, MapStats)>>
Per size-class and map statistics. Each entry identifies the size class it describes, and there can be multiple entries for each size class.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LgAllocStats
impl !RefUnwindSafe for LgAllocStats
impl Send for LgAllocStats
impl Sync for LgAllocStats
impl Unpin for LgAllocStats
impl !UnwindSafe for LgAllocStats
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