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: 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
rehash_unnecessary: AtomicUsize
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
Implementations
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