#[repr(i32)]pub enum PerfClock {
UnknownPerfClock = 0,
Realtime = 1,
Monotonic = 2,
MonotonicRaw = 3,
Boottime = 4,
}
Expand description
Subset of clocks that is supported by perf timestamping. CLOCK_TAI is excluded since it’s not expected to be used in practice, but would require additions to the trace clock synchronisation logic.
Variants§
Implementations§
Trait Implementations§
Source§impl Ord for PerfClock
impl Ord for PerfClock
Source§impl PartialOrd for PerfClock
impl PartialOrd for PerfClock
impl Copy for PerfClock
impl Eq for PerfClock
impl StructuralPartialEq for PerfClock
Auto Trait Implementations§
impl Freeze for PerfClock
impl RefUnwindSafe for PerfClock
impl Send for PerfClock
impl Sync for PerfClock
impl Unpin for PerfClock
impl UnwindSafe for PerfClock
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)