pub struct BranchType {
pub any: bool,
pub any_return: bool,
pub cond: bool,
pub ind_jump: bool,
pub call_stack: bool,
pub call: bool,
pub ind_call: bool,
pub any_call: bool,
pub in_tx: bool,
pub no_tx: bool,
pub abort_tx: bool,
}
Expand description
Branch types.
Fields§
§any: bool
Any branch type.
any_return: bool
Any return branch.
cond: bool
Conditional branches.
ind_jump: bool
Indirect jumps.
Since linux-4.2
: https://github.com/torvalds/linux/commit/c9fdfa14c3792c0160849c484e83aa57afd80ccc
call_stack: bool
Branch is part of a hardware-generated call stack.
Since linux-4.1
: https://github.com/torvalds/linux/commit/2c44b1936bb3b135a3fac8b3493394d42e51cf70
call: bool
Direct calls.
Since linux-4.4
: https://github.com/torvalds/linux/commit/c229bf9dc179d2023e185c0f705bdf68484c1e73
ind_call: bool
Indirect calls.
any_call: bool
Any call branch (includes direct calls, indirect calls, and far jumps).
in_tx: bool
Branch in transactional memory transaction.
no_tx: bool
Branch not in transactional memory transaction.
abort_tx: bool
Transactional memory aborts.
Trait Implementations§
Source§impl Clone for BranchType
impl Clone for BranchType
Source§fn clone(&self) -> BranchType
fn clone(&self) -> BranchType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BranchType
impl Debug for BranchType
Source§impl Default for BranchType
impl Default for BranchType
Source§fn default() -> BranchType
fn default() -> BranchType
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BranchType
impl RefUnwindSafe for BranchType
impl Send for BranchType
impl Sync for BranchType
impl Unpin for BranchType
impl UnwindSafe for BranchType
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
Mutably borrows from an owned value. Read more