[][src]Struct perf_event_open_sys::bindings::perf_branch_entry

#[repr(C)]pub struct perf_branch_entry {
    pub from: __u64,
    pub to: __u64,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8], u64>,
}

Fields

from: __u64to: __u64_bitfield_1: __BindgenBitfieldUnit<[u8; 8], u64>

Implementations

impl perf_branch_entry[src]

pub fn mispred(&self) -> __u64[src]

pub fn set_mispred(&mut self, val: __u64)[src]

pub fn predicted(&self) -> __u64[src]

pub fn set_predicted(&mut self, val: __u64)[src]

pub fn in_tx(&self) -> __u64[src]

pub fn set_in_tx(&mut self, val: __u64)[src]

pub fn abort(&self) -> __u64[src]

pub fn set_abort(&mut self, val: __u64)[src]

pub fn cycles(&self) -> __u64[src]

pub fn set_cycles(&mut self, val: __u64)[src]

pub fn type_(&self) -> __u64[src]

pub fn set_type(&mut self, val: __u64)[src]

pub fn reserved(&self) -> __u64[src]

pub fn set_reserved(&mut self, val: __u64)[src]

pub fn new_bitfield_1(
    mispred: __u64,
    predicted: __u64,
    in_tx: __u64,
    abort: __u64,
    cycles: __u64,
    type_: __u64,
    reserved: __u64
) -> __BindgenBitfieldUnit<[u8; 8], u64>
[src]

Trait Implementations

impl Clone for perf_branch_entry[src]

impl Copy for perf_branch_entry[src]

impl Debug for perf_branch_entry[src]

impl Default for perf_branch_entry[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.