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)