pub trait ReferenceTimeSource: Send + Sync {
// Required methods
fn now_100ns(&self) -> u64;
fn is_backed_by_tsc(&self) -> bool;
}
Expand description
Trait for reference time.
Required Methods§
sourcefn is_backed_by_tsc(&self) -> bool
fn is_backed_by_tsc(&self) -> bool
Returns if this reference time is backed by TSC.