Struct raw_cpuid::CacheParameter [−][src]
pub struct CacheParameter { /* fields omitted */ }
Implementations
impl CacheParameter
[src]
impl CacheParameter
[src]pub fn cache_type(&self) -> CacheType
[src]
Cache Type
pub fn level(&self) -> u8
[src]
Cache Level (starts at 1)
pub fn is_self_initializing(&self) -> bool
[src]
Self Initializing cache level (does not need SW initialization).
pub fn is_fully_associative(&self) -> bool
[src]
Fully Associative cache
pub fn max_cores_for_cache(&self) -> usize
[src]
Maximum number of addressable IDs for logical processors sharing this cache
pub fn max_cores_for_package(&self) -> usize
[src]
Maximum number of addressable IDs for processor cores in the physical package
pub fn coherency_line_size(&self) -> usize
[src]
System Coherency Line Size (Bits 11-00)
pub fn physical_line_partitions(&self) -> usize
[src]
Physical Line partitions (Bits 21-12)
pub fn associativity(&self) -> usize
[src]
Ways of associativity (Bits 31-22)
pub fn sets(&self) -> usize
[src]
Number of Sets (Bits 31-00)
pub fn is_write_back_invalidate(&self) -> bool
[src]
Write-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]
Cache 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]
Complex 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 Clone for CacheParameter
[src]
impl Clone for CacheParameter
[src]fn clone(&self) -> CacheParameter
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for CacheParameter
[src]
impl Default for CacheParameter
[src]