pub struct SysmonConfig {
pub cats: Categories,
pub interval: Duration,
pub membw_peak_bytes_per_s: Option<f64>,
pub procs: Vec<ProcTarget>,
}Expand description
Sampler configuration, resolved by the runner from session params.
Fields§
§cats: Categories§interval: DurationSample window. Default 5 s (sysmon_interval=<seconds>).
membw_peak_bytes_per_s: Option<f64>Peak memory bandwidth in bytes/s — the reference that turns rambw
bytes/s into a utilization. Required when rambw is enabled.
procs: Vec<ProcTarget>The processes sysmon_procs= names, besides nmbrs itself.
Trait Implementations§
Source§impl Clone for SysmonConfig
impl Clone for SysmonConfig
Auto Trait Implementations§
impl Forget for SysmonConfig
impl Freeze for SysmonConfig
impl Move for SysmonConfig
impl RefUnwindSafe for SysmonConfig
impl Send for SysmonConfigwhere
RawVecInner: Send,
impl Sync for SysmonConfigwhere
RawVecInner: Sync,
impl Unpin for SysmonConfig
impl UnsafeUnpin for SysmonConfig
impl UnwindSafe for SysmonConfigwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more