pub struct ThrottleStats {
pub total_observations: u64,
pub total_recomputes: u64,
pub forced_recomputes: u64,
pub eprocess_recomputes: u64,
pub current_wealth: f64,
pub current_lambda: f64,
pub empirical_rate: f64,
pub avg_observations_between_recomputes: f64,
}Expand description
Aggregate statistics for the throttle.
Fields§
§total_observations: u64Total observations processed.
total_recomputes: u64Total recomputes triggered.
forced_recomputes: u64Recomputes forced by hard deadline.
eprocess_recomputes: u64Recomputes triggered by e-process threshold.
current_wealth: f64Current wealth.
current_lambda: f64Current lambda.
empirical_rate: f64Current empirical match rate.
avg_observations_between_recomputes: f64Average observations between recomputes (0 if no recomputes yet).
Trait Implementations§
Source§impl Clone for ThrottleStats
impl Clone for ThrottleStats
Source§fn clone(&self) -> ThrottleStats
fn clone(&self) -> ThrottleStats
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 ThrottleStats
impl RefUnwindSafe for ThrottleStats
impl Send for ThrottleStats
impl Sync for ThrottleStats
impl Unpin for ThrottleStats
impl UnsafeUnpin for ThrottleStats
impl UnwindSafe for ThrottleStats
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