[−][src]Struct raw_cpuid::CpuId
Main type used to query for information about the CPU we're running on.
Methods
impl CpuId
[src]
pub fn new() -> CpuId
[src]
Return new CPUID struct.
pub fn get_vendor_info(&self) -> Option<VendorInfo>
[src]
Return information about vendor. This is typically a ASCII readable string such as GenuineIntel for Intel CPUs or AuthenticAMD for AMD CPUs.
pub fn get_feature_info(&self) -> Option<FeatureInfo>
[src]
Query a set of features that are available on this CPU.
pub fn get_cache_info(&self) -> Option<CacheInfoIter>
[src]
Query basic information about caches. This will just return an index
into a static table of cache descriptions (see CACHE_INFO_TABLE
).
pub fn get_processor_serial(&self) -> Option<ProcessorSerial>
[src]
Retrieve serial number of processor.
pub fn get_cache_parameters(&self) -> Option<CacheParametersIter>
[src]
Retrieve more elaborate information about caches (as opposed
to get_cache_info
). This will tell us about associativity,
set size, line size etc. for each level of the cache hierarchy.
pub fn get_monitor_mwait_info(&self) -> Option<MonitorMwaitInfo>
[src]
Information about how monitor/mwait works on this CPU.
pub fn get_thermal_power_info(&self) -> Option<ThermalPowerInfo>
[src]
Query information about thermal and power management features of the CPU.
pub fn get_extended_feature_info(&self) -> Option<ExtendedFeatures>
[src]
Find out about more features supported by this CPU.
pub fn get_direct_cache_access_info(&self) -> Option<DirectCacheAccessInfo>
[src]
Direct cache access info.
pub fn get_performance_monitoring_info(
&self
) -> Option<PerformanceMonitoringInfo>
[src]
&self
) -> Option<PerformanceMonitoringInfo>
Info about performance monitoring (how many counters etc.).
pub fn get_extended_topology_info(&self) -> Option<ExtendedTopologyIter>
[src]
Information about topology (how many cores and what kind of cores).
pub fn get_extended_state_info(&self) -> Option<ExtendedStateInfo>
[src]
Information for saving/restoring extended register state.
pub fn get_rdt_monitoring_info(&self) -> Option<RdtMonitoringInfo>
[src]
Quality of service informations.
pub fn get_rdt_allocation_info(&self) -> Option<RdtAllocationInfo>
[src]
Quality of service enforcement information.
pub fn get_sgx_info(&self) -> Option<SgxInfo>
[src]
pub fn get_processor_trace_info(&self) -> Option<ProcessorTraceInfo>
[src]
Intel Processor Trace Enumeration Information.
pub fn get_tsc_info(&self) -> Option<TscInfo>
[src]
Time Stamp Counter/Core Crystal Clock Information.
pub fn get_processor_frequency_info(&self) -> Option<ProcessorFrequencyInfo>
[src]
Processor Frequency Information.
pub fn deterministic_address_translation_info(&self) -> Option<DatIter>
[src]
pub fn get_soc_vendor_info(&self) -> Option<SoCVendorInfo>
[src]
pub fn get_hypervisor_info(&self) -> Option<HypervisorInfo>
[src]
pub fn get_extended_function_info(&self) -> Option<ExtendedFunctionInfo>
[src]
Extended functionality of CPU described here (including more supported features). This also contains a more detailed CPU model identifier.
pub fn get_memory_encryption_info(&self) -> Option<MemoryEncryptionInfo>
[src]
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,