Index: src/heap/gc-tracer.cc |
diff --git a/src/heap/gc-tracer.cc b/src/heap/gc-tracer.cc |
index a231a8eea2f57b4d1703a486bbd570ded0141a85..7dbe5fc2ee0f142a2ae88d636a1cb3bb1b3a2803 100644 |
--- a/src/heap/gc-tracer.cc |
+++ b/src/heap/gc-tracer.cc |
@@ -702,11 +702,15 @@ size_t GCTracer::AllocationThroughputInBytesPerMillisecond( |
} |
+size_t GCTracer::CurrentAllocationThroughputInBytesPerMillisecond() const { |
+ return AllocationThroughputInBytesPerMillisecond(kThroughputTimeFrameMs); |
+} |
+ |
+ |
size_t GCTracer::CurrentOldGenerationAllocationThroughputInBytesPerMillisecond() |
const { |
- static const double kThroughputTimeFrame = 5000; |
return OldGenerationAllocationThroughputInBytesPerMillisecond( |
- kThroughputTimeFrame); |
+ kThroughputTimeFrameMs); |
} |