[][src]Struct raw_cpuid::CacheParameter

pub struct CacheParameter { /* fields omitted */ }

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]

impl Copy for CacheParameter[src]

impl Debug for CacheParameter[src]

impl Default for CacheParameter[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.