summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.h
diff options
context:
space:
mode:
author Calin Juravle <calin@google.com> 2015-04-21 13:56:34 +0100
committer Calin Juravle <calin@google.com> 2015-04-21 14:10:35 +0100
commit2be39e05ea8c4475278fe6a6573c3c8f04e075d4 (patch)
tree21bea01160e2470609405a72e8df8b186456a13d /compiler/driver/compiler_driver.h
parentb3306642f42d47ddb4d021a2f48ce9b1bd235857 (diff)
Use --dump-stats to dump optimizing compiler stats.
VLOG(compiler) produces too much output and it takes a long time if you only need to see how an analysis performs. Change-Id: Ic17c2b2b5fec431d356cecd37289fb96985d4d7f
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r--compiler/driver/compiler_driver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index bd9d7c1b54..95534fb554 100644
--- a/compiler/driver/compiler_driver.h
+++ b/compiler/driver/compiler_driver.h
@@ -398,6 +398,10 @@ class CompilerDriver {
return thread_count_;
}
+ bool GetDumpStats() const {
+ return dump_stats_;
+ }
+
bool GetDumpPasses() const {
return dump_passes_;
}