[−][src]Struct libpapi_sys::_papi_component_option
@ingroup papi_data_structures
Fields
name: [c_char; 128]
< Name of the component we're using
short_name: [c_char; 64]
< Short name of component, to be prepended to event names
description: [c_char; 128]
< Description of the component
version: [c_char; 64]
< Version of this component
support_version: [c_char; 64]
< Version of the support library
kernel_version: [c_char; 64]
< Version of the kernel PMC support driver
disabled_reason: [c_char; 128]
< Reason for failure of initialization
disabled: c_int
< 0 if enabled, otherwise error code from initialization
CmpIdx: c_int
< Index into the vector array for this component; set at init time
num_cntrs: c_int
< Number of hardware counters the component supports
num_mpx_cntrs: c_int
< Number of hardware counters the component or PAPI can multiplex supports
num_preset_events: c_int
< Number of preset events the component supports
num_native_events: c_int
< Number of native events the component supports
default_domain: c_int
< The default domain when this component is used
available_domains: c_int
< Available domains
default_granularity: c_int
< The default granularity when this component is used
available_granularities: c_int
< Available granularities
hardware_intr_sig: c_int
< Signal used by hardware to deliver PMC events
component_type: c_int
< Type of component
pmu_names: [*mut c_char; 40]
< list of pmu names supported by this component
reserved: [c_int; 8]
_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u16>
__bindgen_padding_0: u32
Methods
impl _papi_component_option
[src]
pub fn hardware_intr(&self) -> c_uint
[src]
pub fn set_hardware_intr(&mut self, val: c_uint)
[src]
pub fn precise_intr(&self) -> c_uint
[src]
pub fn set_precise_intr(&mut self, val: c_uint)
[src]
pub fn posix1b_timers(&self) -> c_uint
[src]
pub fn set_posix1b_timers(&mut self, val: c_uint)
[src]
pub fn kernel_profile(&self) -> c_uint
[src]
pub fn set_kernel_profile(&mut self, val: c_uint)
[src]
pub fn kernel_multiplex(&self) -> c_uint
[src]
pub fn set_kernel_multiplex(&mut self, val: c_uint)
[src]
pub fn fast_counter_read(&self) -> c_uint
[src]
pub fn set_fast_counter_read(&mut self, val: c_uint)
[src]
pub fn fast_real_timer(&self) -> c_uint
[src]
pub fn set_fast_real_timer(&mut self, val: c_uint)
[src]
pub fn fast_virtual_timer(&self) -> c_uint
[src]
pub fn set_fast_virtual_timer(&mut self, val: c_uint)
[src]
pub fn attach(&self) -> c_uint
[src]
pub fn set_attach(&mut self, val: c_uint)
[src]
pub fn attach_must_ptrace(&self) -> c_uint
[src]
pub fn set_attach_must_ptrace(&mut self, val: c_uint)
[src]
pub fn cntr_umasks(&self) -> c_uint
[src]
pub fn set_cntr_umasks(&mut self, val: c_uint)
[src]
pub fn cpu(&self) -> c_uint
[src]
pub fn set_cpu(&mut self, val: c_uint)
[src]
pub fn inherit(&self) -> c_uint
[src]
pub fn set_inherit(&mut self, val: c_uint)
[src]
pub fn reserved_bits(&self) -> c_uint
[src]
pub fn set_reserved_bits(&mut self, val: c_uint)
[src]
pub fn new_bitfield_1(
hardware_intr: c_uint,
precise_intr: c_uint,
posix1b_timers: c_uint,
kernel_profile: c_uint,
kernel_multiplex: c_uint,
fast_counter_read: c_uint,
fast_real_timer: c_uint,
fast_virtual_timer: c_uint,
attach: c_uint,
attach_must_ptrace: c_uint,
cntr_umasks: c_uint,
cpu: c_uint,
inherit: c_uint,
reserved_bits: c_uint
) -> __BindgenBitfieldUnit<[u8; 4], u16>
[src]
hardware_intr: c_uint,
precise_intr: c_uint,
posix1b_timers: c_uint,
kernel_profile: c_uint,
kernel_multiplex: c_uint,
fast_counter_read: c_uint,
fast_real_timer: c_uint,
fast_virtual_timer: c_uint,
attach: c_uint,
attach_must_ptrace: c_uint,
cntr_umasks: c_uint,
cpu: c_uint,
inherit: c_uint,
reserved_bits: c_uint
) -> __BindgenBitfieldUnit<[u8; 4], u16>
Trait Implementations
impl Clone for _papi_component_option
[src]
fn clone(&self) -> _papi_component_option
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for _papi_component_option
[src]
Auto Trait Implementations
impl !Send for _papi_component_option
impl !Sync for _papi_component_option
impl Unpin for _papi_component_option
impl UnwindSafe for _papi_component_option
impl RefUnwindSafe for _papi_component_option
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 = Infallible
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,