#[repr(transparent)]pub struct Perfsel(pub u32);
Expand description
Bus fabric performance event select for PERFCTR1
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 PERFCTR1. 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 PERFCTR1. 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.
Trait Implementations§
impl Copy for Perfsel
impl Eq for Perfsel
impl StructuralPartialEq for Perfsel
Auto Trait Implementations§
impl Freeze for Perfsel
impl RefUnwindSafe for Perfsel
impl Send for Perfsel
impl Sync for Perfsel
impl Unpin for Perfsel
impl UnwindSafe for Perfsel
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)