Add new metrics to report averages as sum and count

This CL will introduce new metrics for reporting separately the sum
(numerator) and count (denominator) of the average metrics currently
defined, as average values are not aggregated gracefully in StatsD
before being sent for analysis.

Test: atest art_standalone_libartbase_tests (for `MetricsTest`)
Test: atest art_standalone_runtime_tests (for `MetricsReporterTest`)
Test: ART run-test 2232-write-metrics-to-log

Bug: 229618060

Change-Id: I19c330d78df4b23275d8f58db10284562ba62f07
1 file changed
tree: aca3c4f733bbc44df9e803d77914b07530cc16a9
  1. stats/
  2. OWNERS