pub struct HashStats {Show 23 fields
pub scan_time_total_us: u64,
pub zeros_time_total_us: u64,
pub hash_time_total_us: u64,
pub hash_time_pre_us: u64,
pub sort_time_total_us: u64,
pub hash_total: usize,
pub unreduced_entries: usize,
pub num_snapshot_storage: usize,
pub num_slots: usize,
pub collect_snapshots_us: u64,
pub storage_sort_us: u64,
pub min_bin_size: usize,
pub max_bin_size: usize,
pub storage_size_quartiles: StorageSizeQuartileStats,
pub rehash_hash_us: AtomicU64,
pub rehash_calc_us: AtomicU64,
pub rehash_required: AtomicUsize,
pub rehash_unnecessary: AtomicUsize,
pub oldest_root: Slot,
pub roots_older_than_epoch: AtomicUsize,
pub accounts_in_roots_older_than_epoch: AtomicUsize,
pub append_vec_sizes_older_than_epoch: AtomicUsize,
pub ancient_append_vecs: AtomicUsize,
}
Fields§
§scan_time_total_us: u64
§zeros_time_total_us: u64
§hash_time_total_us: u64
§hash_time_pre_us: u64
§sort_time_total_us: u64
§hash_total: usize
§unreduced_entries: usize
§num_snapshot_storage: usize
§num_slots: usize
§collect_snapshots_us: u64
§storage_sort_us: u64
§min_bin_size: usize
§max_bin_size: usize
§storage_size_quartiles: StorageSizeQuartileStats
§rehash_hash_us: AtomicU64
time spent hashing during rehash calls
rehash_calc_us: AtomicU64
time spent determining whether to rehash during rehash calls
rehash_required: AtomicUsize
§rehashes that took place and were necessary
rehash_unnecessary: AtomicUsize
§rehashes that took place and were UNnecessary
oldest_root: Slot
§roots_older_than_epoch: AtomicUsize
§accounts_in_roots_older_than_epoch: AtomicUsize
§append_vec_sizes_older_than_epoch: AtomicUsize
§ancient_append_vecs: AtomicUsize
§ancient append vecs encountered
Implementations§
Source§impl HashStats
impl HashStats
pub fn calc_storage_size_quartiles(&mut self, storages: &SnapshotStorages)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for HashStats
impl RefUnwindSafe for HashStats
impl Send for HashStats
impl Sync for HashStats
impl Unpin for HashStats
impl UnwindSafe for HashStats
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> 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