pub struct Stats {
pub total_dynamic_children: usize,
pub maximum_size: usize,
pub current_size: usize,
pub allocated_blocks: usize,
pub deallocated_blocks: usize,
pub failed_allocations: usize,
}
Expand description
Statistics about the current inspect state.
Fields§
§total_dynamic_children: usize
Number of lazy links (lazy children and values) that have been added to the state.
maximum_size: usize
Maximum size of the vmo backing inspect.
current_size: usize
Current size of the vmo backing inspect.
allocated_blocks: usize
Total number of allocated blocks. This includes blocks that might have already been
deallocated. That is, allocated_blocks
- deallocated_blocks
= currently allocated.
deallocated_blocks: usize
Total number of deallocated blocks.
failed_allocations: usize
Total number of failed allocations.
Trait Implementations§
impl Eq for Stats
impl StructuralPartialEq for Stats
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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