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

@ -60,6 +60,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>,