diff options
Diffstat (limited to 'compiler/common_compiler_test.h')
-rw-r--r-- | compiler/common_compiler_test.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/common_compiler_test.h b/compiler/common_compiler_test.h index 5050d4eb78..45cf2fba7f 100644 --- a/compiler/common_compiler_test.h +++ b/compiler/common_compiler_test.h @@ -371,10 +371,10 @@ class CommonCompilerTest : public CommonRuntimeTest { void CompileMethod(mirror::ArtMethod* method) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { CHECK(method != nullptr); TimingLogger timings("CommonTest::CompileMethod", false, false); - timings.StartSplit("CompileOne"); + TimingLogger::ScopedTiming t(__FUNCTION__, &timings); compiler_driver_->CompileOne(method, &timings); + TimingLogger::ScopedTiming t2("MakeExecutable", &timings); MakeExecutable(method); - timings.EndSplit(); } void CompileDirectMethod(Handle<mirror::ClassLoader> class_loader, const char* class_name, |