Add GC-related metrics to the telemetry infrastructure
Following metrics are added in this CL:
1) Young GC count
2) Full heap GC count
3) Young GC throughput histogram
4) Full heap GC throughput histogram
5) Total bytes allocated
6) Total GC meta data
The last one in itself is not useful. But when divided by GC count gives
an average of memory overhead of running a GC algorithm.
Test: art/test/testrunner/testrunner.py
Bug: 170149255
Change-Id: I5a93d1ceb9dc0764b8c6cebae038b98218c0656a
5 files changed