pub struct Heap {
pub blocks: u64,
pub bytes: u64,
pub peak_bytes: u64,
}Expand description
What DHAT reports about one run’s heap use.
Fields§
§blocks: u64Blocks allocated over the whole run, freed or not.
bytes: u64Bytes allocated over the whole run, freed or not.
peak_bytes: u64Bytes live at the global peak (DHAT’s t-gmax).
Implementations§
Trait Implementations§
impl Copy for Heap
impl Eq for Heap
impl StructuralPartialEq for Heap
Auto Trait Implementations§
impl Forget for Heap
impl Freeze for Heap
impl Move for Heap
impl RefUnwindSafe for Heap
impl Send for Heap
impl Sync for Heap
impl Unpin for Heap
impl UnsafeUnpin for Heap
impl UnwindSafe for Heap
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.