From 88157efc1e16707d4ae10775d4acb15121c50fe7 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Fri, 12 Sep 2014 10:29:53 +0100 Subject: Add the "time" compilation filter and output compilation stats. A "time" compiler filter means the compiler optimizes for compile time. Change-Id: Id1a207ceb2d95f3548aae5e45d51b80695da2029 --- compiler/driver/compiler_options.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compiler/driver/compiler_options.h') 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. -- cgit v1.2.3-59-g8ed1b