summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options_map.def
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2018-01-18 22:44:32 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2018-01-29 09:34:05 +0000
commit8d728324571b720a952b297787eed70c7a1d1acb (patch)
treef24a774aa56c236f2f756b1b439e4c61830bec56 /compiler/driver/compiler_options_map.def
parent0530796b73d0a33a5df27e3a7765c0835994769a (diff)
Add compiler option for counting hotness in compiled code.
For eventually easier profiling of boot classpath and system server. bug: 30934496 Test: 674-hotness-compiled Change-Id: I0f63c644527b74f6ef2649f481c2a1c731bb9f21
Diffstat (limited to 'compiler/driver/compiler_options_map.def')
-rw-r--r--compiler/driver/compiler_options_map.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options_map.def b/compiler/driver/compiler_options_map.def
index 2c56fd7974..acddae7299 100644
--- a/compiler/driver/compiler_options_map.def
+++ b/compiler/driver/compiler_options_map.def
@@ -58,6 +58,7 @@ COMPILER_OPTIONS_KEY (Unit, DumpCFGAppend)
COMPILER_OPTIONS_KEY (std::string, RegisterAllocationStrategy)
COMPILER_OPTIONS_KEY (ParseStringList<','>, VerboseMethods)
COMPILER_OPTIONS_KEY (bool, DeduplicateCode, true)
+COMPILER_OPTIONS_KEY (Unit, CountHotnessInCompiledCode)
COMPILER_OPTIONS_KEY (Unit, DumpTimings)
COMPILER_OPTIONS_KEY (Unit, DumpStats)