pub struct TimestampUs {
pub time_us: u64,
pub cputime_us: u64,
}
Expand description
Holds a micro-second resolution timestamp with both the real time and cpu time.
Fields§
§time_us: u64
Real time in microseconds.
cputime_us: u64
Cpu time in microseconds.
Trait Implementations§
Source§impl Clone for TimestampUs
impl Clone for TimestampUs
Source§fn clone(&self) -> TimestampUs
fn clone(&self) -> TimestampUs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for TimestampUs
impl Default for TimestampUs
Source§fn default() -> TimestampUs
fn default() -> TimestampUs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TimestampUs
impl RefUnwindSafe for TimestampUs
impl Send for TimestampUs
impl Sync for TimestampUs
impl Unpin for TimestampUs
impl UnwindSafe for TimestampUs
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