summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2014-01-17 11:41:07 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-01-17 11:41:08 +0000
commitf3f139f1cd4a9231c2f7ed8e799aa8adeb77f4d4 (patch)
tree37626467ef0ebac4ba8dd034250088391d880556 /compiler/driver/compiler_driver.cc
parentf58c3397ab1163b8e8e1e8f6ad373665b1f3ef9e (diff)
parentdf013175d1aa04641e5c6175f8c786e547d31654 (diff)
Merge "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 5edc8b6771..714dc4cb5e 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -341,7 +341,7 @@ CompilerDriver::CompilerDriver(VerifiedMethodsData* verified_methods_data,
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)
: verified_methods_data_(verified_methods_data),
method_inliner_map_(method_inliner_map),
compiler_backend_(compiler_backend),
@@ -356,6 +356,8 @@ CompilerDriver::CompilerDriver(VerifiedMethodsData* verified_methods_data,
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),