Introduce slot-specific packet metrics (backport #22906) (#23077)

* Introduce slot-specific packet metrics (#22906)

(cherry picked from commit 2f9e30a1f7)

# Conflicts:
#	core/benches/banking_stage.rs
#	core/src/banking_stage.rs
#	core/src/qos_service.rs

* Resolve conflicdts

Co-authored-by: carllin <carl@solana.com>
This commit is contained in:
mergify[bot]
2022-02-13 05:44:38 +00:00
committed by GitHub
parent f66d8551e9
commit 3e3fb4e296
6 changed files with 838 additions and 52 deletions

View File

@ -63,6 +63,7 @@ type Result<T> = std::result::Result<T, PohRecorderError>;
pub type WorkingBankEntry = (Arc<Bank>, (Entry, u64));
#[derive(Clone)]
pub struct BankStart {
pub working_bank: Arc<Bank>,
pub bank_creation_time: Arc<Instant>,