Struct solana_runtime::accounts_hash::HashStats
source · [−]pub struct HashStats {Show 22 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 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
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more