From 4560248d4c85cade7f4fc7b30c3fb41b95a04a7f Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Sun, 21 Jul 2013 22:07:55 -0700 Subject: Move TimingLogger creation to dex2oat Change-Id: I4fdb6afd4ce2ac0d91c6c968893606d593b6ea18 --- compiler/driver/compiler_driver.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'compiler/driver/compiler_driver.h') diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h index 902fda7f0c..1799057ea6 100644 --- a/compiler/driver/compiler_driver.h +++ b/compiler/driver/compiler_driver.h @@ -72,15 +72,16 @@ class CompilerDriver { // classes. explicit CompilerDriver(CompilerBackend compiler_backend, InstructionSet instruction_set, bool image, DescriptorSet* image_classes, - size_t thread_count, bool dump_stats, bool dump_timings); + size_t thread_count, bool dump_stats); ~CompilerDriver(); - void CompileAll(jobject class_loader, const std::vector& dex_files) + void CompileAll(jobject class_loader, const std::vector& dex_files, + TimingLogger& timings) LOCKS_EXCLUDED(Locks::mutator_lock_); // Compile a single Method - void CompileOne(const mirror::AbstractMethod* method) + void CompileOne(const mirror::AbstractMethod* method, TimingLogger& timings) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); InstructionSet GetInstructionSet() const { @@ -362,7 +363,6 @@ class CompilerDriver { UniquePtr stats_; bool dump_stats_; - bool dump_timings_; typedef void (*CompilerCallbackFn)(CompilerDriver& driver); typedef MutexLock* (*CompilerMutexLockFn)(CompilerDriver& driver); -- cgit v1.2.3-59-g8ed1b