pub struct PerformanceMonitoringConfig {
pub enable_monitoring: bool,
pub collection_frequency: Duration,
pub enable_profiling: bool,
pub enable_benchmarking: bool,
pub benchmark_frequency: Duration,
pub track_memory_usage: bool,
pub enable_timing: bool,
pub track_cache_performance: bool,
pub enable_hardware_counters: bool,
pub history_retention: usize,
pub enable_alerts: bool,
pub alert_threshold: Duration,
}Expand description
Performance Monitoring Configuration for Real-Time Analytics
Fields§
§enable_monitoring: boolEnable performance monitoring
collection_frequency: DurationMetrics collection frequency
enable_profiling: boolEnable real-time profiling
enable_benchmarking: boolBenchmark execution periodically
benchmark_frequency: DurationBenchmark frequency
track_memory_usage: boolEnable memory usage tracking
enable_timing: boolEnable operation timing
track_cache_performance: boolEnable cache hit/miss tracking
enable_hardware_counters: boolEnable hardware performance counters
history_retention: usizePerformance history retention (number of samples)
enable_alerts: boolEnable performance alerts
alert_threshold: DurationPerformance threshold for alerts
Trait Implementations§
Source§impl Clone for PerformanceMonitoringConfig
impl Clone for PerformanceMonitoringConfig
Source§impl Debug for PerformanceMonitoringConfig
impl Debug for PerformanceMonitoringConfig
Auto Trait Implementations§
impl Freeze for PerformanceMonitoringConfig
impl RefUnwindSafe for PerformanceMonitoringConfig
impl Send for PerformanceMonitoringConfig
impl Sync for PerformanceMonitoringConfig
impl Unpin for PerformanceMonitoringConfig
impl UnsafeUnpin for PerformanceMonitoringConfig
impl UnwindSafe for PerformanceMonitoringConfig
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> 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