diff options
author | Mathieu Chartier <mathieuc@google.com> | 2014-06-17 15:04:40 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2014-06-17 15:43:14 -0700 |
commit | 19d46b44f2abe742be22e32908dbfd9e6dd9bfea (patch) | |
tree | c0027b328a57280afaad197189a3d58c73242bb4 /runtime/gc/collector/garbage_collector.h | |
parent | 4fab5a1f9b34f558d1f4002de73e233d8a0d47b7 (diff) | |
download | art-19d46b44f2abe742be22e32908dbfd9e6dd9bfea.zip art-19d46b44f2abe742be22e32908dbfd9e6dd9bfea.tar.gz art-19d46b44f2abe742be22e32908dbfd9e6dd9bfea.tar.bz2 |
Fix systrace logging, total paused time, and bytes saved message.
Moved the GC top level systrace logging to be inside of Collector::Run.
This prevents cases where we forgot to call it such as background
compaction. Fixed a unit error regarding total pause time. Fixed
negative bytes saved to use the word "expanded".
Bug: 15702709
Change-Id: Ic2991ecad2daa000d0aee9d559b8bc77d8c160aa
Diffstat (limited to 'runtime/gc/collector/garbage_collector.h')
-rw-r--r-- | runtime/gc/collector/garbage_collector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc/collector/garbage_collector.h b/runtime/gc/collector/garbage_collector.h index 02dd4d9..f4f9dbb 100644 --- a/runtime/gc/collector/garbage_collector.h +++ b/runtime/gc/collector/garbage_collector.h @@ -105,7 +105,7 @@ class GarbageCollector { } uint64_t GetTotalPausedTimeNs() const { - return pause_histogram_.Sum(); + return pause_histogram_.AdjustedSum(); } int64_t GetTotalFreedBytes() const { |