summaryrefslogtreecommitdiffstats
path: root/compiler/driver/compiler_driver.h
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-07-21 22:07:55 -0700
committerBrian Carlstrom <bdc@google.com>2013-07-21 22:24:33 -0700
commit4560248d4c85cade7f4fc7b30c3fb41b95a04a7f (patch)
tree2f2b5f0a80f98431594e89f50b7e02539224051d /compiler/driver/compiler_driver.h
parent75b13a9cb4df1dee19c459341df1697e196f20f7 (diff)
downloadart-4560248d4c85cade7f4fc7b30c3fb41b95a04a7f.zip
art-4560248d4c85cade7f4fc7b30c3fb41b95a04a7f.tar.gz
art-4560248d4c85cade7f4fc7b30c3fb41b95a04a7f.tar.bz2
Move TimingLogger creation to dex2oat
Change-Id: I4fdb6afd4ce2ac0d91c6c968893606d593b6ea18
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r--compiler/driver/compiler_driver.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index 902fda7..1799057 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);