diff options
| author | 2014-09-12 10:29:53 +0100 | |
|---|---|---|
| committer | 2014-09-17 11:02:37 +0100 | |
| commit | 88157efc1e16707d4ae10775d4acb15121c50fe7 (patch) | |
| tree | 37934ec3933ca89224a674b13f5dc3415a06786a /compiler/driver/compiler_options.h | |
| parent | bace0378d720a1d2938ec7f6be17e2814671d20a (diff) | |
Add the "time" compilation filter and output compilation stats.
A "time" compiler filter means the compiler optimizes for
compile time.
Change-Id: Id1a207ceb2d95f3548aae5e45d51b80695da2029
Diffstat (limited to 'compiler/driver/compiler_options.h')
| -rw-r--r-- | compiler/driver/compiler_options.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index c0f91d1646..eb3de975d2 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -27,7 +27,8 @@ class CompilerOptions { kSpace, // Maximize space savings. kBalanced, // Try to get the best performance return on compilation investment. kSpeed, // Maximize runtime performance. - kEverything // Force compilation (Note: excludes compilaton of class initializers). + kEverything, // Force compilation (Note: excludes compilation of class initializers). + kTime // Compile methods, but minimize compilation time. }; // Guide heuristics to determine whether to compile method if profile data not available. |