pub struct TscInfo { /* private fields */ }
Expand description
Implementations§
source§impl TscInfo
impl TscInfo
sourcepub fn denominator(&self) -> u32
pub fn denominator(&self) -> u32
An unsigned integer which is the denominator of the TSC/”core crystal clock” ratio.
sourcepub fn numerator(&self) -> u32
pub fn numerator(&self) -> u32
An unsigned integer which is the numerator of the TSC/”core crystal clock” ratio.
If this is 0, the TSC/”core crystal clock” ratio is not enumerated.
sourcepub fn nominal_frequency(&self) -> u32
pub fn nominal_frequency(&self) -> u32
An unsigned integer which is the nominal frequency of the core crystal clock in Hz.
If this is 0, the nominal core crystal clock frequency is not enumerated.
sourcepub fn tsc_frequency(&self) -> Option<u64>
pub fn tsc_frequency(&self) -> Option<u64>
“TSC frequency” = “core crystal clock frequency” * EBX/EAX.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TscInfo
impl RefUnwindSafe for TscInfo
impl Send for TscInfo
impl Sync for TscInfo
impl Unpin for TscInfo
impl UnwindSafe for TscInfo
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