summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2014-02-11 10:35:35 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-02-11 10:35:36 +0000
commitabaf927f29f6feceb3df3e6ced7d01970ba0dbe9 (patch)
tree245cb514e070eea6fd48dba6d1e5d85fcd9146c5 /compiler/driver/compiler_driver.cc
parent9e36e4c3abdc5f101a2ce2beb3681a941f9d4be5 (diff)
parentea3fa0b4ba13d7bd7f7c1cd85202ccbe141a35ae (diff)
Merge "Re-apply: Implement cumulative timings for CompilerDriver."
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r--compiler/driver/compiler_driver.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index 74c4c2fb96..402d4f4b18 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -344,7 +344,7 @@ CompilerDriver::CompilerDriver(VerificationResults* verification_results,
CompilerBackend compiler_backend, InstructionSet instruction_set,
InstructionSetFeatures instruction_set_features,
bool image, DescriptorSet* image_classes, size_t thread_count,
- bool dump_stats)
+ bool dump_stats, bool dump_passes, CumulativeLogger* timer)
: verification_results_(verification_results),
method_inliner_map_(method_inliner_map),
compiler_backend_(compiler_backend),
@@ -359,6 +359,8 @@ CompilerDriver::CompilerDriver(VerificationResults* verification_results,
start_ns_(0),
stats_(new AOTCompilationStats),
dump_stats_(dump_stats),
+ dump_passes_(dump_passes),
+ timings_logger_(timer),
compiler_library_(NULL),
compiler_(NULL),
compiler_context_(NULL),