#[repr(transparent)]pub struct Perfsel(pub u32);
Expand description
Bus fabric performance event select for PERFCTR0
Tuple Fields§
§0: u32
Implementations§
Source§impl Perfsel
impl Perfsel
Sourcepub const fn perfsel(&self) -> Perfsel
pub const fn perfsel(&self) -> Perfsel
Select an event for PERFCTR0. For each downstream port of the main crossbar, four events are available: ACCESS, an access took place; ACCESS_CONTESTED, an access took place that previously stalled due to contention from other masters; STALL_DOWNSTREAM, count cycles where any master stalled due to a stall on the downstream bus; STALL_UPSTREAM, count cycles where any master stalled for any reason, including contention from other masters.
Sourcepub fn set_perfsel(&mut self, val: Perfsel)
pub fn set_perfsel(&mut self, val: Perfsel)
Select an event for PERFCTR0. For each downstream port of the main crossbar, four events are available: ACCESS, an access took place; ACCESS_CONTESTED, an access took place that previously stalled due to contention from other masters; STALL_DOWNSTREAM, count cycles where any master stalled due to a stall on the downstream bus; STALL_UPSTREAM, count cycles where any master stalled for any reason, including contention from other masters.