Struct solana_runtime::accounts_background_service::stats::Stats
source · struct Stats {
num_iterations: usize,
cumulative_runtime: Duration,
min_runtime: Duration,
max_runtime: Duration,
}
Expand description
Stats for Accounts Background Services
Intended to record stats for each iteration of the ABS main loop.
Fields§
§num_iterations: usize
Number of iterations recorded
cumulative_runtime: Duration
Total runtime of all iterations
min_runtime: Duration
Minimum runtime seen for one iteration
max_runtime: Duration
Maximum runtime seen for one iteration
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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