Struct raw_cpuid::CacheParameter [−][src]
pub struct CacheParameter { /* fields omitted */ }Methods
impl CacheParameter[src]
impl CacheParameterpub fn cache_type(&self) -> CacheType[src]
pub fn cache_type(&self) -> CacheTypeCache Type
pub fn level(&self) -> u8[src]
pub fn level(&self) -> u8Cache Level (starts at 1)
pub fn is_self_initializing(&self) -> bool[src]
pub fn is_self_initializing(&self) -> boolSelf Initializing cache level (does not need SW initialization).
pub fn is_fully_associative(&self) -> bool[src]
pub fn is_fully_associative(&self) -> boolFully Associative cache
pub fn max_cores_for_cache(&self) -> usize[src]
pub fn max_cores_for_cache(&self) -> usizeMaximum number of addressable IDs for logical processors sharing this cache
pub fn max_cores_for_package(&self) -> usize[src]
pub fn max_cores_for_package(&self) -> usizeMaximum number of addressable IDs for processor cores in the physical package
pub fn coherency_line_size(&self) -> usize[src]
pub fn coherency_line_size(&self) -> usizeSystem Coherency Line Size (Bits 11-00)
pub fn physical_line_partitions(&self) -> usize[src]
pub fn physical_line_partitions(&self) -> usizePhysical Line partitions (Bits 21-12)
pub fn associativity(&self) -> usize[src]
pub fn associativity(&self) -> usizeWays of associativity (Bits 31-22)
pub fn sets(&self) -> usize[src]
pub fn sets(&self) -> usizeNumber of Sets (Bits 31-00)
pub fn is_write_back_invalidate(&self) -> bool[src]
pub fn is_write_back_invalidate(&self) -> boolWrite-Back Invalidate/Invalidate (Bit 0) False: WBINVD/INVD from threads sharing this cache acts upon lower level caches for threads sharing this cache. True: WBINVD/INVD is not guaranteed to act upon lower level caches of non-originating threads sharing this cache.
pub fn is_inclusive(&self) -> bool[src]
pub fn is_inclusive(&self) -> boolCache Inclusiveness (Bit 1) False: Cache is not inclusive of lower cache levels. True: Cache is inclusive of lower cache levels.
pub fn has_complex_indexing(&self) -> bool[src]
pub fn has_complex_indexing(&self) -> boolComplex Cache Indexing (Bit 2) False: Direct mapped cache. True: A complex function is used to index the cache, potentially using all address bits.
Trait Implementations
impl Copy for CacheParameter[src]
impl Copy for CacheParameterimpl Clone for CacheParameter[src]
impl Clone for CacheParameterfn clone(&self) -> CacheParameter[src]
fn clone(&self) -> CacheParameterReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for CacheParameter[src]
impl Debug for CacheParameterfn 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 CacheParameter[src]
impl Default for CacheParameterfn default() -> CacheParameter[src]
fn default() -> CacheParameterReturns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for CacheParameter
impl Send for CacheParameterimpl Sync for CacheParameter
impl Sync for CacheParameter