pub struct Timer<'a> {
pub name: &'a str,
pub num_events: usize,
pub elapsed_time: i64,
pub min_time: i64,
pub max_time: i64,
pub start_time: i64,
pub stop_time: i64,
}Expand description
A timer kernel statistic.
Fields§
§name: &'a str§num_events: usize§elapsed_time: i64§min_time: i64§max_time: i64§start_time: i64§stop_time: i64Trait Implementations§
impl<'a> Copy for Timer<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Timer<'a>
impl<'a> Send for Timer<'a>
impl<'a> Sync for Timer<'a>
impl<'a> Unpin for Timer<'a>
impl<'a> UnwindSafe for Timer<'a>
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