Struct solana_runtime::accounts_hash::HashStats
source · 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: u64zeros_time_total_us: u64hash_time_total_us: u64hash_time_pre_us: u64sort_time_total_us: u64hash_total: usizeunreduced_entries: usizenum_snapshot_storage: usizenum_slots: usizecollect_snapshots_us: u64storage_sort_us: u64min_bin_size: usizemax_bin_size: usizestorage_size_quartiles: StorageSizeQuartileStatsrehash_hash_us: AtomicU64time spent hashing during rehash calls
rehash_calc_us: AtomicU64time spent determining whether to rehash during rehash calls
rehash_required: AtomicUsizerehash_unnecessary: AtomicUsizeoldest_root: Slotroots_older_than_epoch: AtomicUsizeaccounts_in_roots_older_than_epoch: AtomicUsizeappend_vec_sizes_older_than_epoch: AtomicUsizeancient_append_vecs: AtomicUsizeImplementations
sourceimpl HashStats
impl HashStats
pub fn calc_storage_size_quartiles(&mut self, storages: &SnapshotStorages)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HashStats
impl Send for HashStats
impl Sync for HashStats
impl Unpin for HashStats
impl UnwindSafe for HashStats
Blanket Implementations
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more