[−][src]Struct raw_cpuid::CacheParameter
Implementations
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]
fn clone(&self) -> CacheParameter
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CacheParameter
[src]
impl Debug for CacheParameter
[src]
impl Default for CacheParameter
[src]
fn default() -> CacheParameter
[src]
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,
pub 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.
pub 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>,