Struct solana_runtime::accounts_hash::HashStats
source · pub struct HashStats {Show 23 fields
pub mark_time_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 unreduced_entries: 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 min_bin_size: usize,
pub max_bin_size: usize,
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,
}
Fields§
§mark_time_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
§unreduced_entries: usize
§num_snapshot_storage: usize
§scan_chunks: usize
§num_slots: usize
§num_dirty_slots: usize
§collect_snapshots_us: u64
§storage_sort_us: u64
§min_bin_size: usize
§max_bin_size: usize
§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
Implementations§
source§impl HashStats
impl HashStats
pub fn calc_storage_size_quartiles( &mut self, storages: &[Arc<AccountStorageEntry>] )
pub fn log(&mut self)
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§
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