pub struct SysmontapConfig {
pub update_rate: i32,
pub cpu_usage: bool,
pub phys_footprint: bool,
pub sample_interval: i64,
}Expand description
Configuration for the sysmontap performance monitor.
Fields§
§update_rate: i32Update rate: lower = faster samples (Xcode default: 10)
cpu_usage: boolReport CPU usage
phys_footprint: boolReport physical memory footprint
sample_interval: i64Sample interval in nanoseconds (500_000_000 = 0.5s)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SysmontapConfig
impl RefUnwindSafe for SysmontapConfig
impl Send for SysmontapConfig
impl Sync for SysmontapConfig
impl Unpin for SysmontapConfig
impl UnsafeUnpin for SysmontapConfig
impl UnwindSafe for SysmontapConfig
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