Fix marking time in cumulative gc stats.
authorhpayer@chromium.org <hpayer@chromium.org>
Thu, 6 Nov 2014 12:58:53 +0000 (12:58 +0000)
committerhpayer@chromium.org <hpayer@chromium.org>
Thu, 6 Nov 2014 12:59:31 +0000 (12:59 +0000)
BUG=
R=jarin@chromium.org

Review URL: https://codereview.chromium.org/708483004

Cr-Commit-Position: refs/heads/master@{#25192}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25192 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/heap/heap.cc

index c4eed9c..166dd3a 100644 (file)
@@ -5314,7 +5314,7 @@ void Heap::TearDown() {
     PrintF("total_gc_time=%.1f ", total_gc_time_ms_);
     PrintF("min_in_mutator=%.1f ", get_min_in_mutator());
     PrintF("max_alive_after_gc=%" V8_PTR_PREFIX "d ", get_max_alive_after_gc());
-    PrintF("total_marking_time=%.1f ", tracer_.cumulative_sweeping_duration());
+    PrintF("total_marking_time=%.1f ", tracer_.cumulative_marking_duration());
     PrintF("total_sweeping_time=%.1f ", tracer_.cumulative_sweeping_duration());
     PrintF("\n\n");
   }