diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2014-01-13 10:11:18 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2014-01-16 11:05:30 +0000 |
commit | df013175d1aa04641e5c6175f8c786e547d31654 (patch) | |
tree | 2d1ba389c73218bff2f61e958ee2be2656b3b3b9 /runtime/common_test.h | |
parent | 00e7f2e935d98f0eb14f5ef1d376604d0054bf5e (diff) | |
download | art-df013175d1aa04641e5c6175f8c786e547d31654.zip art-df013175d1aa04641e5c6175f8c786e547d31654.tar.gz art-df013175d1aa04641e5c6175f8c786e547d31654.tar.bz2 |
Implement cumulative timings for CompilerDriver.
Change-Id: I3b04de7f2717273f356b8120f68d69e2379bab2f
Diffstat (limited to 'runtime/common_test.h')
-rw-r--r-- | runtime/common_test.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/common_test.h b/runtime/common_test.h index ee95d5b..a75a513 100644 --- a/runtime/common_test.h +++ b/runtime/common_test.h @@ -474,12 +474,13 @@ class CommonTest : public testing::Test { } } class_linker_->FixupDexCaches(runtime_->GetResolutionMethod()); + CumulativeLogger timer("Compilation times"); compiler_driver_.reset(new CompilerDriver(verified_methods_data_.get(), method_inliner_map_.get(), compiler_backend, instruction_set, instruction_set_features, true, new CompilerDriver::DescriptorSet, - 2, true)); + 2, true, true, &timer)); } // We typically don't generate an image in unit tests, disable this optimization by default. compiler_driver_->SetSupportBootImageFixup(false); |