pub struct StatFormat {
pub id: bool,
pub time_enabled: bool,
pub time_running: bool,
pub lost_records: bool,
pub siblings: bool,
}
Expand description
Controls the format of Stat
.
Fields§
§id: bool
Contains the event ID.
time_enabled: bool
Contains the enabled time of the counter.
time_running: bool
Contains the running time of the counter.
lost_records: bool
Contains the number of lost records.
Since linux-6.0
: https://github.com/torvalds/linux/commit/119a784c81270eb88e573174ed2209225d646656
siblings: bool
Contains sibling event counts.
Trait Implementations§
Source§impl Clone for StatFormat
impl Clone for StatFormat
Source§fn clone(&self) -> StatFormat
fn clone(&self) -> StatFormat
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StatFormat
impl Debug for StatFormat
Source§impl Default for StatFormat
impl Default for StatFormat
Source§fn default() -> StatFormat
fn default() -> StatFormat
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StatFormat
impl RefUnwindSafe for StatFormat
impl Send for StatFormat
impl Sync for StatFormat
impl Unpin for StatFormat
impl UnwindSafe for StatFormat
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