diff --git a/runtime/src/accounts_db.rs b/runtime/src/accounts_db.rs index b46de635cdeb04..944e8340eb251b 100644 --- a/runtime/src/accounts_db.rs +++ b/runtime/src/accounts_db.rs @@ -1160,7 +1160,7 @@ struct PurgeStats { total_removed_cached_bytes: AtomicU64, total_removed_stored_bytes: AtomicU64, recycle_stores_write_elapsed: AtomicU64, - scan_storages_elasped: AtomicU64, + scan_storages_elapsed: AtomicU64, purge_accounts_index_elapsed: AtomicU64, handle_reclaims_elapsed: AtomicU64, } @@ -1227,8 +1227,8 @@ impl PurgeStats { i64 ), ( - "scan_storages_elasped", - self.scan_storages_elasped.swap(0, Ordering::Relaxed) as i64, + "scan_storages_elapsed", + self.scan_storages_elapsed.swap(0, Ordering::Relaxed) as i64, i64 ), ( @@ -4268,7 +4268,7 @@ impl AccountsDb { ); scan_storages_elasped.stop(); purge_stats - .scan_storages_elasped + .scan_storages_elapsed .fetch_add(scan_storages_elasped.as_us(), Ordering::Relaxed); let mut purge_accounts_index_elapsed = Measure::start("purge_accounts_index_elapsed");