summaryrefslogtreecommitdiffstats
path: root/runtime/gc/collector/garbage_collector.h
diff options
context:
space:
mode:
authorAnwar Ghuloum <anwarg@google.com>2013-07-24 15:02:53 -0700
committerAnwar Ghuloum <anwarg@google.com>2013-07-25 16:20:22 -0700
commit6f28d91aab952e3244fbb4e707fa38f85538f374 (patch)
tree4ad68f49a154598599bc80d4596b7ee64e5923cc /runtime/gc/collector/garbage_collector.h
parent41a41fdfc5d38f1b389d5e6cf1a945c96170d3ed (diff)
downloadart-6f28d91aab952e3244fbb4e707fa38f85538f374.zip
art-6f28d91aab952e3244fbb4e707fa38f85538f374.tar.gz
art-6f28d91aab952e3244fbb4e707fa38f85538f374.tar.bz2
Add systrace support to NewTimingLogger, migrate compiler timing logging to NewTimingLogger
Rpleaced old TimingLogger by NewTimingLogger, renamed NewTimingLogger to TimingLogger, added systrace support to TimingLogger. Tests passing, phone booting, systrace working. Change-Id: I2aeffb8bcb7f0fd979d8a2a3a8bcfbaa02413679
Diffstat (limited to 'runtime/gc/collector/garbage_collector.h')
-rw-r--r--runtime/gc/collector/garbage_collector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/gc/collector/garbage_collector.h b/runtime/gc/collector/garbage_collector.h
index 1684664..0f566c9 100644
--- a/runtime/gc/collector/garbage_collector.h
+++ b/runtime/gc/collector/garbage_collector.h
@@ -64,7 +64,7 @@ class GarbageCollector {
void RegisterPause(uint64_t nano_length);
- base::NewTimingLogger& GetTimings() {
+ base::TimingLogger& GetTimings() {
return timings_;
}
@@ -101,7 +101,7 @@ class GarbageCollector {
const bool verbose_;
uint64_t duration_ns_;
- base::NewTimingLogger timings_;
+ base::TimingLogger timings_;
// Cumulative statistics.
uint64_t total_time_ns_;