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 Freeze for PmuTypeId
impl RefUnwindSafe for PmuTypeId
impl Send for PmuTypeId
impl Sync for PmuTypeId
impl Unpin for PmuTypeId
impl UnwindSafe for PmuTypeId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more