Struct raw_cpuid::HypervisorInfo
source · [−]pub struct HypervisorInfo { /* private fields */ }
Expand description
Information about Hypervisor (https://lwn.net/Articles/301888/)
Implementations
sourceimpl HypervisorInfo
impl HypervisorInfo
pub fn identify(&self) -> Hypervisor
sourcepub fn tsc_frequency(&self) -> Option<u32>
pub fn tsc_frequency(&self) -> Option<u32>
TSC frequency in kHz.
sourcepub fn apic_frequency(&self) -> Option<u32>
pub fn apic_frequency(&self) -> Option<u32>
(Virtual) Bus (local apic timer) frequency in kHz.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HypervisorInfo
impl Send for HypervisorInfo
impl Sync for HypervisorInfo
impl Unpin for HypervisorInfo
impl UnwindSafe for HypervisorInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more