pub struct HashStats {Show 23 fields
pub total_us: u64,
pub mark_time_us: u64,
pub cache_hash_data_us: u64,
pub scan_time_total_us: u64,
pub zeros_time_total_us: u64,
pub hash_time_total_us: u64,
pub sort_time_total_us: u64,
pub hash_total: usize,
pub num_snapshot_storage: usize,
pub scan_chunks: usize,
pub num_slots: usize,
pub num_dirty_slots: usize,
pub collect_snapshots_us: u64,
pub storage_sort_us: u64,
pub storage_size_quartiles: StorageSizeQuartileStats,
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 longest_ancient_scan_us: AtomicU64,
pub sum_ancient_scans_us: AtomicU64,
pub count_ancient_scans: AtomicU64,
pub pubkey_bin_search_us: AtomicU64,
}
Fields§
§total_us: u64
§mark_time_us: u64
§cache_hash_data_us: u64
§scan_time_total_us: u64
§zeros_time_total_us: u64
§hash_time_total_us: u64
§sort_time_total_us: u64
§hash_total: usize
§num_snapshot_storage: usize
§scan_chunks: usize
§num_slots: usize
§num_dirty_slots: usize
§collect_snapshots_us: u64
§storage_sort_us: u64
§storage_size_quartiles: StorageSizeQuartileStats
§oldest_root: Slot
§roots_older_than_epoch: AtomicUsize
§accounts_in_roots_older_than_epoch: AtomicUsize
§append_vec_sizes_older_than_epoch: AtomicUsize
§longest_ancient_scan_us: AtomicU64
§sum_ancient_scans_us: AtomicU64
§count_ancient_scans: AtomicU64
§pubkey_bin_search_us: AtomicU64
Implementations§
source§impl HashStats
impl HashStats
pub fn calc_storage_size_quartiles( &mut self, storages: &[Arc<AccountStorageEntry>], )
pub fn log(&self)
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