pub struct TimerMeasurement {
pub instructions: u64,
pub elapsed_ns: u64,
}Expand description
One callback’s completed performance measurement.
Fields§
§instructions: u64Instructions consumed by the callback.
elapsed_ns: u64Wall-clock callback duration in nanoseconds.
Trait Implementations§
Source§impl Clone for TimerMeasurement
impl Clone for TimerMeasurement
Source§fn clone(&self) -> TimerMeasurement
fn clone(&self) -> TimerMeasurement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TimerMeasurement
Source§impl Debug for TimerMeasurement
impl Debug for TimerMeasurement
impl Eq for TimerMeasurement
Source§impl PartialEq for TimerMeasurement
impl PartialEq for TimerMeasurement
impl StructuralPartialEq for TimerMeasurement
Auto Trait Implementations§
impl Freeze for TimerMeasurement
impl RefUnwindSafe for TimerMeasurement
impl Send for TimerMeasurement
impl Sync for TimerMeasurement
impl Unpin for TimerMeasurement
impl UnsafeUnpin for TimerMeasurement
impl UnwindSafe for TimerMeasurement
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