summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2017-11-29 10:18:30 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-11-29 10:18:30 +0000
commitaa25db7d2a6f7f507c27ce49c99a33daf3059f8f (patch)
tree154ae8968a450a2e02d88207fa09e380fd380553 /compiler/driver/compiler_options.h
parent299c1e168bde2039586d2486e52c73abbcec93b1 (diff)
parent2d8801f7b932496d5c2606294ff8fdea60e05b30 (diff)
Merge "Clean some dex2oat options."
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r--compiler/driver/compiler_options.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h
index a71f61a9e3..3f660293d2 100644
--- a/compiler/driver/compiler_options.h
+++ b/compiler/driver/compiler_options.h
@@ -266,6 +266,14 @@ class CompilerOptions FINAL {
return passes_to_run_;
}
+ bool GetDumpTimings() const {
+ return dump_timings_;
+ }
+
+ bool GetDumpStats() const {
+ return dump_stats_;
+ }
+
private:
bool ParseDumpInitFailures(const std::string& option, std::string* error_msg);
void ParseDumpCfgPasses(const StringPiece& option, UsageFn Usage);
@@ -303,6 +311,8 @@ class CompilerOptions FINAL {
bool implicit_so_checks_;
bool implicit_suspend_checks_;
bool compile_pic_;
+ bool dump_timings_;
+ bool dump_stats_;
// Vector of methods to have verbose output enabled for.
std::vector<std::string> verbose_methods_;