pub struct L2And3CacheTlbInfo { /* private fields */ }
Expand description
Implementations§
source§impl L2And3CacheTlbInfo
impl L2And3CacheTlbInfo
sourcepub fn dtlb_2m_4m_associativity(&self) -> Associativity
pub fn dtlb_2m_4m_associativity(&self) -> Associativity
sourcepub fn dtlb_2m_4m_size(&self) -> u16
pub fn dtlb_2m_4m_size(&self) -> u16
L2 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.
§Availability
✅ AMD ❌ Intel (reserved=0)
sourcepub fn itlb_2m_4m_associativity(&self) -> Associativity
pub fn itlb_2m_4m_associativity(&self) -> Associativity
sourcepub fn itlb_2m_4m_size(&self) -> u16
pub fn itlb_2m_4m_size(&self) -> u16
L2 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.
§Availability
✅ AMD ❌ Intel (reserved=0)
sourcepub fn dtlb_4k_associativity(&self) -> Associativity
pub fn dtlb_4k_associativity(&self) -> Associativity
sourcepub fn dtlb_4k_size(&self) -> u16
pub fn dtlb_4k_size(&self) -> u16
sourcepub fn itlb_4k_associativity(&self) -> Associativity
pub fn itlb_4k_associativity(&self) -> Associativity
sourcepub fn itlb_4k_size(&self) -> u16
pub fn itlb_4k_size(&self) -> u16
sourcepub fn l2cache_line_size(&self) -> u8
pub fn l2cache_line_size(&self) -> u8
sourcepub fn l2cache_lines_per_tag(&self) -> u8
pub fn l2cache_lines_per_tag(&self) -> u8
sourcepub fn l2cache_associativity(&self) -> Associativity
pub fn l2cache_associativity(&self) -> Associativity
sourcepub fn l2cache_size(&self) -> u16
pub fn l2cache_size(&self) -> u16
sourcepub fn l3cache_line_size(&self) -> u8
pub fn l3cache_line_size(&self) -> u8
sourcepub fn l3cache_lines_per_tag(&self) -> u8
pub fn l3cache_lines_per_tag(&self) -> u8
sourcepub fn l3cache_associativity(&self) -> Associativity
pub fn l3cache_associativity(&self) -> Associativity
sourcepub fn l3cache_size(&self) -> u16
pub fn l3cache_size(&self) -> u16
Specifies the L3 cache size range
(L3Size[31:18] * 512KB) <= L3 cache size < ((L3Size[31:18]+1) * 512KB)
.
§Platforms
✅ AMD ❌ Intel (reserved=0)
Trait Implementations§
source§impl Debug for L2And3CacheTlbInfo
impl Debug for L2And3CacheTlbInfo
source§impl PartialEq for L2And3CacheTlbInfo
impl PartialEq for L2And3CacheTlbInfo
impl Eq for L2And3CacheTlbInfo
impl StructuralPartialEq for L2And3CacheTlbInfo
Auto Trait Implementations§
impl Freeze for L2And3CacheTlbInfo
impl RefUnwindSafe for L2And3CacheTlbInfo
impl Send for L2And3CacheTlbInfo
impl Sync for L2And3CacheTlbInfo
impl Unpin for L2And3CacheTlbInfo
impl UnwindSafe for L2And3CacheTlbInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more