Index: src/heap/gc-tracer.cc |
diff --git a/src/heap/gc-tracer.cc b/src/heap/gc-tracer.cc |
index 6ca724e5a1ef18158fa1b436f69ca5149df5ec80..4f5b5ae517a734efd01b79cfb5d4a317e810fe79 100644 |
--- a/src/heap/gc-tracer.cc |
+++ b/src/heap/gc-tracer.cc |
@@ -360,10 +360,9 @@ void GCTracer::Print() const { |
static_cast<double>(current_.end_memory_size) / MB); |
int external_time = static_cast<int>(current_.scopes[Scope::EXTERNAL]); |
- if (external_time > 0) Output("%d / ", external_time); |
- |
double duration = current_.end_time - current_.start_time; |
- Output("%.1f ms", duration); |
+ Output("%.1f / %d ms", duration, external_time); |
+ |
if (current_.type == Event::SCAVENGER) { |
if (current_.incremental_marking_steps > 0) { |
Output(" (+ %.1f ms in %d steps since last GC)", |