pub struct PerformanceThresholds {
pub max_frame_time_ms: u64,
pub max_memory_bytes: usize,
pub max_timing_variance: f64,
pub max_failure_rate: f64,
}Expand description
Performance thresholds for anomaly detection
Fields§
§max_frame_time_ms: u64Max time per frame (ms)
max_memory_bytes: usizeMax memory per frame (bytes)
max_timing_variance: f64Max variance in frame times (coefficient of variation)
max_failure_rate: f64Max allowed failure rate (0.0 to 1.0)
Trait Implementations§
Source§impl Clone for PerformanceThresholds
impl Clone for PerformanceThresholds
Source§fn clone(&self) -> PerformanceThresholds
fn clone(&self) -> PerformanceThresholds
Returns a duplicate 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 PerformanceThresholds
impl Debug for PerformanceThresholds
Auto Trait Implementations§
impl Freeze for PerformanceThresholds
impl RefUnwindSafe for PerformanceThresholds
impl Send for PerformanceThresholds
impl Sync for PerformanceThresholds
impl Unpin for PerformanceThresholds
impl UnsafeUnpin for PerformanceThresholds
impl UnwindSafe for PerformanceThresholds
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