[−][src]Struct nc::types::perf_branch_entry_t
single taken branch record layout:
- from: source instruction (may not always be a branch insn)
- to: branch target
- mispred: branch target was mispredicted
- predicted: branch target was predicted
support for mispred, predicted is optional. In case it is not supported mispred = predicted = 0.
- in_tx: running in a hardware transaction
- abort: aborting a hardware transaction
- cycles: cycles from last branch (or 0 if not supported)
- type: branch type
Fields
from: u64
to: u64
mispred: u8
target mispredicted
predicted: u8
target predicted
in_tx: u8
in transaction
abort: u8
transaction abort
cycles: u8
cycle count to last branch
type_: u8
branch type
Auto Trait Implementations
impl Send for perf_branch_entry_t
[src]
impl Sync for perf_branch_entry_t
[src]
impl Unpin for perf_branch_entry_t
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,