diff options
author | Albert Mingkun Yang <albertnetymk@google.com> | 2018-11-30 19:58:18 +0000 |
---|---|---|
committer | Albert Mingkun Yang <albertnetymk@google.com> | 2018-12-04 19:31:28 +0000 |
commit | 2d7329b5379a739751448ee93ae7c52d15d0c07b (patch) | |
tree | 76de7c6bd8350792661789ecae4a4943eb36b65c /compiler/optimizing/graph_visualizer.cc | |
parent | 6a98f89c4ad645b04d6c80d3d7e260c59bf6f193 (diff) |
ART: add weighted allocated bytes metrics
`process_cpu_start_time_` is moved from `art::Runtime` to `art::gc:Heap`
so that it could be reset when the app starts (current process is forked
from Zygote).
`process_cpu_end_time_` is removed from `art::Runtime` because it's only
used when the runtime is about to shutdown, so it suffices to capture it
in a local variable.
Test: Run art with -XX:DumpGCPerformanceOnShutdown on some benchmarks.
Bug: 112187497
Change-Id: I154fdb6acdf4e0c21dff835807bd4e2cf311e3d1
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions