clean metric: total_us (#20707)
This commit is contained in:
parent
b80fd7566a
commit
00b9056004
@ -1984,6 +1984,7 @@ impl AccountsDb {
|
||||
is_startup: bool,
|
||||
last_full_snapshot_slot: Option<Slot>,
|
||||
) {
|
||||
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user