diff --git a/runtime/src/accounts_db.rs b/runtime/src/accounts_db.rs index c717950c08..e95572a2c6 100644 --- a/runtime/src/accounts_db.rs +++ b/runtime/src/accounts_db.rs @@ -1984,6 +1984,7 @@ impl AccountsDb { is_startup: bool, last_full_snapshot_slot: Option, ) { + let mut measure_all = Measure::start("clean_accounts"); let max_clean_root = self.max_clean_root(max_clean_root); // hold a lock to prevent slot shrinking from running because it might modify some rooted @@ -2193,10 +2194,12 @@ impl AccountsDb { ); reclaims_time.stop(); + measure_all.stop(); self.clean_accounts_stats.report(); datapoint_info!( "clean_accounts", + ("total_us", measure_all.as_us(), i64), ( "collect_delta_keys_us", key_timings.collect_delta_keys_us,