Replace histogram in CumulativeLogger with average

Histograms has non-trivial memory consumption and hence using it in
CumulativeLogger to track time spent in each function results in
significant private dirty memory (see the bug). The detailed stats that
histograms provide aren't really needed. So, replacing with averages.

Bug: 179396782
Test: art/test/testrunner/testrunner.py --host --runtime-option=-XX:DumpGCPerformanceOnShutdown
Change-Id: I9ed48e9ced124f2a02bf0411e188f87504db5422
3 files changed