Timing logger clean-up
Catching some missing regions in GC, renamed unpause, relacing start/endsplits with scopedsplit.
More to come in further CLs.
Change-Id: I809e0c3af8f8432b22c6205aade5d0dd05ac1b38
diff --git a/runtime/base/timing_logger.cc b/runtime/base/timing_logger.cc
index 78a6883..1dcad0e 100644
--- a/runtime/base/timing_logger.cc
+++ b/runtime/base/timing_logger.cc
@@ -243,7 +243,7 @@
timing_logger_->current_split_ = enclosing_split_;
if (enclosing_split_ != NULL) {
- enclosing_split_->UnPause();
+ enclosing_split_->Resume();
}
}
@@ -281,7 +281,7 @@
}
-void TimingLogger::ScopedSplit::UnPause() {
+void TimingLogger::ScopedSplit::Resume() {
uint64_t current_time = NanoTime();
start_ns_ = current_time;