Open
Description
Auto-migrated from intel-sandbox/applications.graphics.presentmonservice/issues/424
Original creation by JeffersonMontgomery-Intel on 2024-04-23 16:08:41+00:00
Whether or not to include/exclude zeros in statistics calculation should be a property of the metric, not the statistic.
So, e.g., there shouldn't be a separate non-zero avg statistic, it should just be avg and either include zeros or not depending on which metric it is. Similarly, zeros should be excluded from ALL the statistics, not just average.
For performance, zero values for such metrics should just not be added to the data array, instead of checking for zeros in the statistics calculations themselves.