Report total_transactions in replay-slot-stats (#28382)
We have transactions counted in replay-slot-end-to-end-stats, but that metric is broken down to report things per thread. So, report total_transactions for the entire slot (all threads) in replay-slot-stats.
This commit is contained in:
parent
235da8c538
commit
39fa297bf6
|
@ -39,6 +39,7 @@ impl ReplaySlotStats {
|
|||
pub fn report_stats(
|
||||
&self,
|
||||
slot: Slot,
|
||||
num_txs: usize,
|
||||
num_entries: usize,
|
||||
num_shreds: u64,
|
||||
bank_complete_time_us: u64,
|
||||
|
@ -71,6 +72,7 @@ impl ReplaySlotStats {
|
|||
i64
|
||||
),
|
||||
("bank_complete_time_us", bank_complete_time_us, i64),
|
||||
("total_transactions", num_txs as i64, i64),
|
||||
("total_entries", num_entries as i64, i64),
|
||||
("total_shreds", num_shreds as i64, i64),
|
||||
// Everything inside the `eager!` block will be eagerly expanded before
|
||||
|
|
|
@ -2564,6 +2564,7 @@ impl ReplayStage {
|
|||
|
||||
r_replay_stats.report_stats(
|
||||
bank.slot(),
|
||||
r_replay_progress.num_txs,
|
||||
r_replay_progress.num_entries,
|
||||
r_replay_progress.num_shreds,
|
||||
bank_complete_time.as_us(),
|
||||
|
|
Loading…
Reference in New Issue