Index: src/heap/gc-tracer.cc |
diff --git a/src/heap/gc-tracer.cc b/src/heap/gc-tracer.cc |
index 214bb8b24d67b031ebafbfe6a54e8c793e76d4ca..6728f09bdadb9aab540bd6995922b1d414c14312 100644 |
--- a/src/heap/gc-tracer.cc |
+++ b/src/heap/gc-tracer.cc |
@@ -682,11 +682,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); |
} |