Struct linux_perf_event_reader::PmuTypeId
source · [−]pub struct PmuTypeId(pub u32);
Expand description
PMU type ID
The PMU type ID allows selecting whether to observe only “atom”, only “core”,
or both. If the PMU type ID is zero, both “atom” and “core” are observed.
To observe just one of them, the PMU type ID needs to be set to the value of
/sys/devices/cpu_atom/type
or of /sys/devices/cpu_core/type
.
Tuple Fields
0: u32
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PmuTypeId
impl Send for PmuTypeId
impl Sync for PmuTypeId
impl Unpin for PmuTypeId
impl UnwindSafe for PmuTypeId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more