pub struct DescendantsConfig {
pub root_pid: u32,
pub max_levels: Option<u32>,
pub filter: Option<ProcessFilter>,
pub cpu_mode: CpuMode,
pub sample_duration: Option<Duration>,
}Expand description
Configuration for descendants traversal.
Fields§
§root_pid: u32PID to start traversal from.
max_levels: Option<u32>Maximum depth (1 = children only). None means traverse all levels.
filter: Option<ProcessFilter>Optional process filter applied after traversal.
cpu_mode: CpuModeCPU measurement mode used before applying cpu_above filters.
sample_duration: Option<Duration>Optional sample interval used when cpu_mode = Monitor.
Defaults to 1 second when omitted.
Trait Implementations§
Source§impl Clone for DescendantsConfig
impl Clone for DescendantsConfig
Auto Trait Implementations§
impl Forget for DescendantsConfig
impl Freeze for DescendantsConfig
impl Move for DescendantsConfig
impl RefUnwindSafe for DescendantsConfig
impl Send for DescendantsConfig
impl Sync for DescendantsConfig
impl Unpin for DescendantsConfig
impl UnsafeUnpin for DescendantsConfig
impl UnwindSafe for DescendantsConfig
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