Struct x86::cpuid::L1CacheTlbInfo
source · [−]pub struct L1CacheTlbInfo { /* private fields */ }
Expand description
Implementations
sourceimpl L1CacheTlbInfo
impl L1CacheTlbInfo
sourcepub fn dtlb_2m_4m_associativity(&self) -> Associativity
pub fn dtlb_2m_4m_associativity(&self) -> Associativity
Data TLB associativity for 2-MB and 4-MB pages.
sourcepub fn dtlb_2m_4m_size(&self) -> u8
pub fn dtlb_2m_4m_size(&self) -> u8
Data TLB number of entries for 2-MB and 4-MB pages.
The value returned is for the number of entries available for the 2-MB page size; 4-MB pages require two 2-MB entries, so the number of entries available for the 4-MB page size is one-half the returned value.
sourcepub fn itlb_2m_4m_associativity(&self) -> Associativity
pub fn itlb_2m_4m_associativity(&self) -> Associativity
Instruction TLB associativity for 2-MB and 4-MB pages.
sourcepub fn itlb_2m_4m_size(&self) -> u8
pub fn itlb_2m_4m_size(&self) -> u8
Instruction TLB number of entries for 2-MB and 4-MB pages.
The value returned is for the number of entries available for the 2-MB page size; 4-MB pages require two 2-MB entries, so the number of entries available for the 4-MB page size is one-half the returned value.
sourcepub fn dtlb_4k_associativity(&self) -> Associativity
pub fn dtlb_4k_associativity(&self) -> Associativity
Data TLB associativity for 4K pages.
sourcepub fn dtlb_4k_size(&self) -> u8
pub fn dtlb_4k_size(&self) -> u8
Data TLB number of entries for 4K pages.
sourcepub fn itlb_4k_associativity(&self) -> Associativity
pub fn itlb_4k_associativity(&self) -> Associativity
Instruction TLB associativity for 4K pages.
sourcepub fn itlb_4k_size(&self) -> u8
pub fn itlb_4k_size(&self) -> u8
Instruction TLB number of entries for 4K pages.
sourcepub fn dcache_size(&self) -> u8
pub fn dcache_size(&self) -> u8
L1 data cache size in KB
sourcepub fn dcache_associativity(&self) -> Associativity
pub fn dcache_associativity(&self) -> Associativity
L1 data cache associativity.
sourcepub fn dcache_lines_per_tag(&self) -> u8
pub fn dcache_lines_per_tag(&self) -> u8
L1 data cache lines per tag.
sourcepub fn dcache_line_size(&self) -> u8
pub fn dcache_line_size(&self) -> u8
L1 data cache line size in bytes.
sourcepub fn icache_size(&self) -> u8
pub fn icache_size(&self) -> u8
L1 instruction cache size in KB
sourcepub fn icache_associativity(&self) -> Associativity
pub fn icache_associativity(&self) -> Associativity
L1 instruction cache associativity.
sourcepub fn icache_lines_per_tag(&self) -> u8
pub fn icache_lines_per_tag(&self) -> u8
L1 instruction cache lines per tag.
sourcepub fn icache_line_size(&self) -> u8
pub fn icache_line_size(&self) -> u8
L1 instruction cache line size in bytes.
Trait Implementations
sourceimpl Debug for L1CacheTlbInfo
impl Debug for L1CacheTlbInfo
sourceimpl PartialEq<L1CacheTlbInfo> for L1CacheTlbInfo
impl PartialEq<L1CacheTlbInfo> for L1CacheTlbInfo
sourcefn eq(&self, other: &L1CacheTlbInfo) -> bool
fn eq(&self, other: &L1CacheTlbInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &L1CacheTlbInfo) -> bool
fn ne(&self, other: &L1CacheTlbInfo) -> bool
This method tests for !=
.
impl Eq for L1CacheTlbInfo
impl StructuralEq for L1CacheTlbInfo
impl StructuralPartialEq for L1CacheTlbInfo
Auto Trait Implementations
impl RefUnwindSafe for L1CacheTlbInfo
impl Send for L1CacheTlbInfo
impl Sync for L1CacheTlbInfo
impl Unpin for L1CacheTlbInfo
impl UnwindSafe for L1CacheTlbInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more