diff options
author | Calin Juravle <calin@google.com> | 2016-03-16 11:53:41 +0000 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2016-03-16 14:07:22 +0000 |
commit | 6915898b28cea6c9836ca1be6814d87e89cc6d76 (patch) | |
tree | 89eb0f498a958b72d78c8aee25b4de212c25348b /compiler/optimizing/optimizing_compiler_stats.h | |
parent | fbc61e19578d281d05728bcd120e1ace57c2fbd8 (diff) |
Improve compiler stats
- report the max size of arena alloc
- report how many virtual or interface invokes were inlined
Change-Id: I82f154a8e25b5e3890181a1aa11346cdc3f93e37
Diffstat (limited to 'compiler/optimizing/optimizing_compiler_stats.h')
-rw-r--r-- | compiler/optimizing/optimizing_compiler_stats.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/optimizing/optimizing_compiler_stats.h b/compiler/optimizing/optimizing_compiler_stats.h index 179004bd40..ecbe371a8b 100644 --- a/compiler/optimizing/optimizing_compiler_stats.h +++ b/compiler/optimizing/optimizing_compiler_stats.h @@ -60,6 +60,8 @@ enum MethodCompilationStat { kIntrinsicRecognized, kLoopInvariantMoved, kSelectGenerated, + kRemovedInstanceOf, + kInlinedInvokeVirtualOrInterface, kLastStat }; @@ -133,6 +135,8 @@ class OptimizingCompilerStats { case kIntrinsicRecognized : name = "IntrinsicRecognized"; break; case kLoopInvariantMoved : name = "LoopInvariantMoved"; break; case kSelectGenerated : name = "SelectGenerated"; break; + case kRemovedInstanceOf: name = "RemovedInstanceOf"; break; + case kInlinedInvokeVirtualOrInterface: name = "InlinedInvokeVirtualOrInterface"; break; case kLastStat: LOG(FATAL) << "invalid stat " |