mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 13:25:45 +02:00
context: calculate TOTAL RATES correctly
The denominator for TOTAL RATES is the total running time, not the delta running time. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
parent
4a3d3e7a43
commit
522e52618e
@ -132,12 +132,11 @@ BeesContext::show_progress()
|
||||
auto all_age = all_timer.age();
|
||||
stats_timer.lap();
|
||||
|
||||
auto avg_rates = thisStats / stats_age;
|
||||
|
||||
BEESNOTE("logging event counter totals for last " << all_timer);
|
||||
BEESLOGINFO("TOTAL COUNTS (" << all_age << "s):\n\t" << thisStats);
|
||||
|
||||
BEESNOTE("logging event counter rates for last " << all_timer);
|
||||
auto avg_rates = thisStats / all_age;
|
||||
BEESLOGINFO("TOTAL RATES (" << all_age << "s):\n\t" << avg_rates);
|
||||
|
||||
BEESNOTE("logging event counter delta counts for last " << stats_age);
|
||||
|
Loading…
x
Reference in New Issue
Block a user