pub struct AnalysisThresholds {
pub max_tracking_overhead: f64,
pub max_allocation_latency: Duration,
pub max_symbol_resolution_time: Duration,
pub min_tracking_completeness: f64,
pub max_analysis_memory: usize,
}Expand description
Performance thresholds for memory analysis
Fields§
§max_tracking_overhead: f64Max acceptable tracking overhead (percentage of app memory)
max_allocation_latency: DurationMax allocation tracking latency (microseconds)
max_symbol_resolution_time: DurationMax symbol resolution time per frame (milliseconds)
min_tracking_completeness: f64Min acceptable tracking completeness (0.0 to 1.0)
max_analysis_memory: usizeMax memory usage for analysis tools (MB)
Trait Implementations§
Source§impl Clone for AnalysisThresholds
impl Clone for AnalysisThresholds
Source§fn clone(&self) -> AnalysisThresholds
fn clone(&self) -> AnalysisThresholds
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 AnalysisThresholds
impl Debug for AnalysisThresholds
Auto Trait Implementations§
impl Freeze for AnalysisThresholds
impl RefUnwindSafe for AnalysisThresholds
impl Send for AnalysisThresholds
impl Sync for AnalysisThresholds
impl Unpin for AnalysisThresholds
impl UnwindSafe for AnalysisThresholds
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
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