[−][src]Struct libipt_sys::pt_event
An event.
Fields
type_: pt_event_type
The type of the event.
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
tsc: u64
The time stamp count of the event.
This field is only valid if @has_tsc is set.
lost_mtc: u32
The number of lost mtc and cyc packets.
This gives an idea about the quality of the @tsc. The more packets were dropped, the less precise timing is.
lost_cyc: u32
reserved: [u64; 2]
variant: pt_event__bindgen_ty_1
Methods
impl pt_event
[src]
pub fn ip_suppressed(&self) -> u32
[src]
pub fn set_ip_suppressed(&mut self, val: u32)
[src]
pub fn status_update(&self) -> u32
[src]
pub fn set_status_update(&mut self, val: u32)
[src]
pub fn has_tsc(&self) -> u32
[src]
pub fn set_has_tsc(&mut self, val: u32)
[src]
pub fn new_bitfield_1(
ip_suppressed: u32,
status_update: u32,
has_tsc: u32
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
ip_suppressed: u32,
status_update: u32,
has_tsc: u32
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
Auto Trait Implementations
impl Send for pt_event
impl Sync for pt_event
impl Unpin for pt_event
impl UnwindSafe for pt_event
impl RefUnwindSafe for pt_event
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,