pub struct Phase {
pub time: Duration,
pub heap_peak: u64,
pub rss_after: u64,
}Expand description
Time, heap, and RSS for one phase of work.
Fields§
§time: Duration§heap_peak: u64Peak bytes allocated during this phase.
rss_after: u64Process RSS high-water after this phase. Monotonic across phases: a phase that does not raise it did not drive peak memory.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnsafeUnpin for Phase
impl UnwindSafe for Phase
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