summaryrefslogtreecommitdiffstats
path: root/chromium/v8/src/heap/gc-tracer.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <[email protected]>2015-09-28 18:37:14 +0200
committerAllan Sandfeld Jensen <[email protected]>2015-09-29 07:47:06 +0000
commit0e8ff63a407fe323e215bb1a2c423c09a4747c8a (patch)
treee27e357e125d2d705bd504e1e3c8a3da1ed20f1d /chromium/v8/src/heap/gc-tracer.cc
parentc3d0bb5bb15d008606b18b865841e19cd9bb5847 (diff)
BASELINE: Update chromium to 45.0.2454.101upstream-45
Also adds web_cache component Change-Id: I51238ceea8ee99854cc4989ae70a4fc2fc6bedcb Reviewed-by: Kai Koehne <[email protected]>
Diffstat (limited to 'chromium/v8/src/heap/gc-tracer.cc')
-rw-r--r--chromium/v8/src/heap/gc-tracer.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/chromium/v8/src/heap/gc-tracer.cc b/chromium/v8/src/heap/gc-tracer.cc
index 214bb8b24d6..6728f09bdad 100644
--- a/chromium/v8/src/heap/gc-tracer.cc
+++ b/chromium/v8/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);
}