Introduce slot-specific packet metrics (#22906)

This commit is contained in:
carllin
2022-02-11 03:07:45 -05:00
committed by GitHub
parent 4bd6a231d2
commit 2f9e30a1f7
6 changed files with 840 additions and 134 deletions

View File

@ -10,6 +10,7 @@ use {
rayon::prelude::*,
solana_core::{
banking_stage::{BankingStage, BankingStageStats},
leader_slot_banking_stage_metrics::LeaderSlotMetricsTracker,
qos_service::QosService,
},
solana_entry::entry::{next_hash, Entry},
@ -98,6 +99,7 @@ fn bench_consume_buffered(bencher: &mut Bencher) {
&BankingStageStats::default(),
&recorder,
&QosService::new(Arc::new(RwLock::new(CostModel::default())), 1),
&mut LeaderSlotMetricsTracker::new(0),
);
});