Struct raw_cpuid::ExtendedFunctionInfo
source · [−]pub struct ExtendedFunctionInfo { /* private fields */ }
Implementations
sourceimpl ExtendedFunctionInfo
impl ExtendedFunctionInfo
sourcepub fn processor_brand_string<'a>(&'a self) -> Option<&'a str>
pub fn processor_brand_string<'a>(&'a self) -> Option<&'a str>
Retrieve processor brand string.
sourcepub fn extended_signature(&self) -> Option<u32>
pub fn extended_signature(&self) -> Option<u32>
Extended Processor Signature and Feature Bits.
sourcepub fn cache_line_size(&self) -> Option<u8>
pub fn cache_line_size(&self) -> Option<u8>
Cache Line size in bytes
sourcepub fn l2_associativity(&self) -> Option<L2Associativity>
pub fn l2_associativity(&self) -> Option<L2Associativity>
L2 Associativity field
sourcepub fn cache_size(&self) -> Option<u16>
pub fn cache_size(&self) -> Option<u16>
Cache size in 1K units
sourcepub fn physical_address_bits(&self) -> Option<u8>
pub fn physical_address_bits(&self) -> Option<u8>
#Physical Address Bits
sourcepub fn linear_address_bits(&self) -> Option<u8>
pub fn linear_address_bits(&self) -> Option<u8>
#Linear Address Bits
sourcepub fn has_invariant_tsc(&self) -> bool
pub fn has_invariant_tsc(&self) -> bool
Is Invariant TSC available?
sourcepub fn has_lahf_sahf(&self) -> bool
pub fn has_lahf_sahf(&self) -> bool
Is LAHF/SAHF available in 64-bit mode?
sourcepub fn has_prefetchw(&self) -> bool
pub fn has_prefetchw(&self) -> bool
Is PREFETCHW available?
sourcepub fn has_syscall_sysret(&self) -> bool
pub fn has_syscall_sysret(&self) -> bool
Are fast system calls available.
sourcepub fn has_execute_disable(&self) -> bool
pub fn has_execute_disable(&self) -> bool
Is there support for execute disable bit.
sourcepub fn has_1gib_pages(&self) -> bool
pub fn has_1gib_pages(&self) -> bool
Is there support for 1GiB pages.
sourcepub fn has_rdtscp(&self) -> bool
pub fn has_rdtscp(&self) -> bool
Check support for rdtscp instruction.
sourcepub fn has_64bit_mode(&self) -> bool
pub fn has_64bit_mode(&self) -> bool
Check support for 64-bit mode.
Trait Implementations
sourceimpl Debug for ExtendedFunctionInfo
impl Debug for ExtendedFunctionInfo
sourceimpl Default for ExtendedFunctionInfo
impl Default for ExtendedFunctionInfo
sourcefn default() -> ExtendedFunctionInfo
fn default() -> ExtendedFunctionInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ExtendedFunctionInfo
impl Send for ExtendedFunctionInfo
impl Sync for ExtendedFunctionInfo
impl Unpin for ExtendedFunctionInfo
impl UnwindSafe for ExtendedFunctionInfo
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