summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2014-06-24 22:30:11 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-06-24 18:00:13 +0000
commitfe7aee2d20b47dad6029a588e0c7394f0c75d080 (patch)
tree2bb978afd7a3388fd3e17e6264c7afbbfd80d93b /compiler/common_compiler_test.h
parent1f47b4d8c20e443fac7e8b8b7a77c723fb0be3a1 (diff)
parentf5997b4d3f889569d5a2b724d83d764bfbb8d106 (diff)
Merge "More advanced timing loggers."
Diffstat (limited to 'compiler/common_compiler_test.h')
-rw-r--r--compiler/common_compiler_test.h4
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,