Struct dhat::HeapStats [−][src]
pub struct HeapStats {
pub curr_blocks: usize,
pub curr_bytes: usize,
pub max_blocks: usize,
pub max_bytes: usize,
}
Expand description
Some heap stats about execution. For testing purposes, subject to change.
Fields
curr_blocks: usize
Number of blocks currently allocated.
curr_bytes: usize
Number of bytes currently allocated.
max_blocks: usize
Number of blocks allocated at the global peak.
max_bytes: usize
Number of bytes allocated at the global peak.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HeapStats
impl UnwindSafe for HeapStats
Blanket Implementations
Mutably borrows from an owned value. Read more