struct PeakRss {
stop: Arc<AtomicBool>,
peak: Arc<AtomicU64>,
baseline: u64,
thread: Option<JoinHandle<()>>,
}Expand description
A resident-set sampler that runs beside the bench for its duration.
Fields§
§stop: Arc<AtomicBool>§peak: Arc<AtomicU64>§baseline: u64§thread: Option<JoinHandle<()>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PeakRss
impl !UnwindSafe for PeakRss
impl Freeze for PeakRss
impl Send for PeakRss
impl Sync for PeakRss
impl Unpin for PeakRss
impl UnsafeUnpin for PeakRss
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