From 184ba6cb845bef90399e13fe18e90753f46c6e0f Mon Sep 17 00:00:00 2001 From: Tao Zhu <82401714+tao-stones@users.noreply.github.com> Date: Tue, 19 Mar 2024 19:44:34 -0500 Subject: [PATCH] qos service should also accumulate executed but errored units (#328) qos service should also accumulated executed but errored units --- core/src/banking_stage/consumer.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/banking_stage/consumer.rs b/core/src/banking_stage/consumer.rs index c5ed22a34278ce..e66b32c0bda898 100644 --- a/core/src/banking_stage/consumer.rs +++ b/core/src/banking_stage/consumer.rs @@ -772,7 +772,9 @@ impl Consumer { (0, 0), |(units, times), program_timings| { ( - units.saturating_add(program_timings.accumulated_units), + units + .saturating_add(program_timings.accumulated_units) + .saturating_add(program_timings.total_errored_units), times.saturating_add(program_timings.accumulated_us), ) },