pub struct L1CacheTlbInfo { /* private fields */ }
Expand description
Implementations§
source§impl 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.