Skip to content

Commit

Permalink
typo (#24291)
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoranYi authored Apr 12, 2022
1 parent 4ac7309 commit 929753a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions runtime/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down Expand Up @@ -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
),
(
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 929753a

Please sign in to comment.