Lower counter level (#10428)
This commit is contained in:
@ -354,7 +354,7 @@ impl PohRecorder {
|
||||
pub fn tick(&mut self) {
|
||||
let now = Instant::now();
|
||||
let poh_entry = self.poh.lock().unwrap().tick();
|
||||
inc_new_counter_warn!(
|
||||
inc_new_counter_info!(
|
||||
"poh_recorder-tick_lock_contention",
|
||||
timing::duration_as_us(&now.elapsed()) as usize
|
||||
);
|
||||
@ -364,7 +364,7 @@ impl PohRecorder {
|
||||
trace!("tick_height {}", self.tick_height);
|
||||
|
||||
if self.leader_first_tick_height.is_none() {
|
||||
inc_new_counter_warn!(
|
||||
inc_new_counter_info!(
|
||||
"poh_recorder-tick_overhead",
|
||||
timing::duration_as_us(&now.elapsed()) as usize
|
||||
);
|
||||
@ -380,7 +380,7 @@ impl PohRecorder {
|
||||
self.tick_cache.push((entry, self.tick_height));
|
||||
let _ = self.flush_cache(true);
|
||||
}
|
||||
inc_new_counter_warn!(
|
||||
inc_new_counter_info!(
|
||||
"poh_recorder-tick_overhead",
|
||||
timing::duration_as_us(&now.elapsed()) as usize
|
||||
);
|
||||
|
@ -226,7 +226,7 @@ impl EntryVerificationState {
|
||||
|
||||
verify_check_time.stop();
|
||||
verification_state.duration_ms += gpu_time_ms + verify_check_time.as_ms();
|
||||
inc_new_counter_warn!(
|
||||
inc_new_counter_info!(
|
||||
"entry_verify-duration",
|
||||
verification_state.duration_ms as usize
|
||||
);
|
||||
|
Reference in New Issue
Block a user