Struct raw_cpuid::L2And3CacheTlbInfo
source · 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<L2And3CacheTlbInfo> for L2And3CacheTlbInfo
impl PartialEq<L2And3CacheTlbInfo> for L2And3CacheTlbInfo
source§fn eq(&self, other: &L2And3CacheTlbInfo) -> bool
fn eq(&self, other: &L2And3CacheTlbInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.