pub struct PerformanceAnalyzer {
pub hit_rate_history: Vec<(SystemTime, f32)>,
pub ops_history: Vec<(SystemTime, f32)>,
pub latency_history: Vec<(SystemTime, LatencySnapshot)>,
pub efficiency_history: Vec<(SystemTime, f32)>,
}Expand description
Performance analyzer
Fields§
§hit_rate_history: Vec<(SystemTime, f32)>Hit rate over time
ops_history: Vec<(SystemTime, f32)>Operations per second history
latency_history: Vec<(SystemTime, LatencySnapshot)>Latency percentiles over time
efficiency_history: Vec<(SystemTime, f32)>Efficiency score history
Implementations§
Trait Implementations§
Source§impl Clone for PerformanceAnalyzer
impl Clone for PerformanceAnalyzer
Source§fn clone(&self) -> PerformanceAnalyzer
fn clone(&self) -> PerformanceAnalyzer
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 moreAuto Trait Implementations§
impl Freeze for PerformanceAnalyzer
impl RefUnwindSafe for PerformanceAnalyzer
impl Send for PerformanceAnalyzer
impl Sync for PerformanceAnalyzer
impl Unpin for PerformanceAnalyzer
impl UnwindSafe for PerformanceAnalyzer
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