Struct raw_cpuid::CpuId [−][src]
pub struct CpuId { /* fields omitted */ }Main type used to query for information about the CPU we're running on.
Methods
impl CpuId[src]
impl CpuIdpub fn new() -> CpuId[src]
pub fn new() -> CpuIdReturn new CPUID struct.
pub fn get_vendor_info(&self) -> Option<VendorInfo>[src]
pub fn get_vendor_info(&self) -> Option<VendorInfo>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]
pub fn get_feature_info(&self) -> Option<FeatureInfo>Query a set of features that are available on this CPU.
pub fn get_cache_info(&self) -> Option<CacheInfoIter>[src]
pub fn get_cache_info(&self) -> Option<CacheInfoIter>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]
pub fn get_processor_serial(&self) -> Option<ProcessorSerial>Retrieve serial number of processor.
pub fn get_cache_parameters(&self) -> Option<CacheParametersIter>[src]
pub fn get_cache_parameters(&self) -> Option<CacheParametersIter>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]
pub fn get_monitor_mwait_info(&self) -> Option<MonitorMwaitInfo>Information about how monitor/mwait works on this CPU.
pub fn get_thermal_power_info(&self) -> Option<ThermalPowerInfo>[src]
pub fn get_thermal_power_info(&self) -> Option<ThermalPowerInfo>Query information about thermal and power management features of the CPU.
pub fn get_extended_feature_info(&self) -> Option<ExtendedFeatures>[src]
pub fn get_extended_feature_info(&self) -> Option<ExtendedFeatures>Find out about more features supported by this CPU.
pub fn get_direct_cache_access_info(&self) -> Option<DirectCacheAccessInfo>[src]
pub fn get_direct_cache_access_info(&self) -> Option<DirectCacheAccessInfo>Direct cache access info.
pub fn get_performance_monitoring_info(
&self
) -> Option<PerformanceMonitoringInfo>[src]
pub fn get_performance_monitoring_info(
&self
) -> Option<PerformanceMonitoringInfo>Info about performance monitoring (how many counters etc.).
pub fn get_extended_topology_info(&self) -> Option<ExtendedTopologyIter>[src]
pub fn get_extended_topology_info(&self) -> Option<ExtendedTopologyIter>Information about topology (how many cores and what kind of cores).
pub fn get_extended_state_info(&self) -> Option<ExtendedStateInfo>[src]
pub fn get_extended_state_info(&self) -> Option<ExtendedStateInfo>Information for saving/restoring extended register state.
pub fn get_rdt_monitoring_info(&self) -> Option<RdtMonitoringInfo>[src]
pub fn get_rdt_monitoring_info(&self) -> Option<RdtMonitoringInfo>Quality of service informations.
pub fn get_rdt_allocation_info(&self) -> Option<RdtAllocationInfo>[src]
pub fn get_rdt_allocation_info(&self) -> Option<RdtAllocationInfo>Quality of service enforcement information.
pub fn get_sgx_info(&self) -> Option<SgxInfo>[src]
pub fn get_sgx_info(&self) -> Option<SgxInfo>pub fn get_processor_trace_info(&self) -> Option<ProcessorTraceInfo>[src]
pub fn get_processor_trace_info(&self) -> Option<ProcessorTraceInfo>Intel Processor Trace Enumeration Information.
pub fn get_tsc_info(&self) -> Option<TscInfo>[src]
pub fn get_tsc_info(&self) -> Option<TscInfo>Time Stamp Counter/Core Crystal Clock Information.
pub fn get_processor_frequency_info(&self) -> Option<ProcessorFrequencyInfo>[src]
pub fn get_processor_frequency_info(&self) -> Option<ProcessorFrequencyInfo>Processor Frequency Information.
pub fn deterministic_address_translation_info(&self) -> Option<DatIter>[src]
pub fn deterministic_address_translation_info(&self) -> Option<DatIter>pub fn get_soc_vendor_info(&self) -> Option<SoCVendorInfo>[src]
pub fn get_soc_vendor_info(&self) -> Option<SoCVendorInfo>pub fn get_extended_function_info(&self) -> Option<ExtendedFunctionInfo>[src]
pub fn get_extended_function_info(&self) -> Option<ExtendedFunctionInfo>Extended functionality of CPU described here (including more supported features). This also contains a more detailed CPU model identifier.
Trait Implementations
impl Debug for CpuId[src]
impl Debug for CpuIdfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for CpuId[src]
impl Default for CpuId