[][src]Struct linux::kty::perf_event_mmap_page

#[repr(C)]
pub struct perf_event_mmap_page { pub version: __u32, pub compat_version: __u32, pub lock: __u32, pub index: __u32, pub offset: __s64, pub time_enabled: __u64, pub time_running: __u64, pub pmc_width: __u16, pub time_shift: __u16, pub time_mult: __u32, pub time_offset: __u64, pub time_zero: __u64, pub size: __u32, pub __reserved: [__u8; 948], pub data_head: __u64, pub data_tail: __u64, // some fields omitted }

Fields

version: __u32compat_version: __u32lock: __u32index: __u32offset: __s64time_enabled: __u64time_running: __u64pmc_width: __u16time_shift: __u16time_mult: __u32time_offset: __u64time_zero: __u64size: __u32__reserved: [__u8; 948]data_head: __u64data_tail: __u64

Methods

impl perf_event_mmap_page[src]

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

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

pub fn cap_bit0(&self) -> bool[src]

pub fn cap_bit0_is_deprecated(&self) -> bool[src]

pub fn cap_user_rdpmc(&self) -> bool[src]

pub fn cap_user_time(&self) -> bool[src]

pub fn cap_user_time_zero(&self) -> bool[src]

pub fn set_cap_bit0(&mut self, val: bool)[src]

pub fn set_cap_bit0_is_deprecated(&mut self, val: bool)[src]

pub fn set_cap_user_rdpmc(&mut self, val: bool)[src]

pub fn set_cap_user_time(&mut self, val: bool)[src]

pub fn set_cap_user_time_zero(&mut self, val: bool)[src]

Trait Implementations

impl Pod for perf_event_mmap_page[src]

impl Copy for perf_event_mmap_page[src]

impl Clone for perf_event_mmap_page[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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