pub struct BehaviorThresholds {
pub frame_survival_frames: u64,
pub frame_survival_rate: f32,
pub pool_same_frame_free_rate: f32,
pub promotion_churn_rate: f32,
pub heap_in_hot_path_count: u64,
pub min_samples: u64,
}Expand description
Thresholds for behavior detection.
Fields§
§frame_survival_frames: u64Frame allocations surviving more than this many frames trigger FA501
frame_survival_rate: f32Frame allocation survival rate above this triggers FA502
pool_same_frame_free_rate: f32Pool allocations with same-frame-free rate above this trigger FA510
promotion_churn_rate: f32Promotion rate above this triggers FA520
heap_in_hot_path_count: u64Heap allocations in frame phases above this count trigger FA530
min_samples: u64Minimum allocations before analysis kicks in
Implementations§
Trait Implementations§
Source§impl Clone for BehaviorThresholds
impl Clone for BehaviorThresholds
Source§fn clone(&self) -> BehaviorThresholds
fn clone(&self) -> BehaviorThresholds
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 BehaviorThresholds
impl Debug for BehaviorThresholds
Auto Trait Implementations§
impl Freeze for BehaviorThresholds
impl RefUnwindSafe for BehaviorThresholds
impl Send for BehaviorThresholds
impl Sync for BehaviorThresholds
impl Unpin for BehaviorThresholds
impl UnwindSafe for BehaviorThresholds
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