summaryrefslogtreecommitdiff
path: root/compiler/jit/jit_compiler.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2017-09-20 15:15:20 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2017-09-22 09:31:42 +0100
commit3d69922789f41f9d66e9b82c56c668538d8163ee (patch)
tree5ebd1b220152e27c83ba1d9bd26aa6f9eb91d2fd /compiler/jit/jit_compiler.cc
parent93780a60090356921b844dbefdc13442c9f18b52 (diff)
Change JIT timings to collect thread CPU time.
Test: m Test: timing_logger_test.cc Change-Id: I26fd86e66c4dd967dc62b629f6b6cde97b71ed13
Diffstat (limited to 'compiler/jit/jit_compiler.cc')
-rw-r--r--compiler/jit/jit_compiler.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/jit/jit_compiler.cc b/compiler/jit/jit_compiler.cc
index 5fdf9ff07c..511a44af04 100644
--- a/compiler/jit/jit_compiler.cc
+++ b/compiler/jit/jit_compiler.cc
@@ -175,7 +175,8 @@ bool JitCompiler::CompileMethod(Thread* self, ArtMethod* method, bool osr) {
DCHECK(!method->IsProxyMethod());
DCHECK(method->GetDeclaringClass()->IsResolved());
- TimingLogger logger("JIT compiler timing logger", true, VLOG_IS_ON(jit));
+ TimingLogger logger(
+ "JIT compiler timing logger", true, VLOG_IS_ON(jit), TimingLogger::TimingKind::kThreadCpu);
self->AssertNoPendingException();
Runtime* runtime = Runtime::Current();