diff options
| author | 2013-07-22 09:35:59 -0700 | |
|---|---|---|
| committer | 2013-07-22 09:35:59 -0700 | |
| commit | 669af5ff17793ba9dcb61570cc762ff33ba47468 (patch) | |
| tree | 7b05dda060bc4394c55da8deef7cc7718941933c /compiler/driver/compiler_driver.h | |
| parent | 49ed57499b918553e2d3db922ca2826dffa5bcd1 (diff) | |
| parent | 4560248d4c85cade7f4fc7b30c3fb41b95a04a7f (diff) | |
am 4560248d: Move TimingLogger creation to dex2oat
* commit '4560248d4c85cade7f4fc7b30c3fb41b95a04a7f':
Move TimingLogger creation to dex2oat
Diffstat (limited to 'compiler/driver/compiler_driver.h')
| -rw-r--r-- | compiler/driver/compiler_driver.h | 8 |
1 files changed, 4 insertions, 4 deletions
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<const DexFile*>& dex_files) + void CompileAll(jobject class_loader, const std::vector<const DexFile*>& 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<AOTCompilationStats> stats_; bool dump_stats_; - bool dump_timings_; typedef void (*CompilerCallbackFn)(CompilerDriver& driver); typedef MutexLock* (*CompilerMutexLockFn)(CompilerDriver& driver); |