| Index: src/heap/gc-tracer.h
|
| diff --git a/src/heap/gc-tracer.h b/src/heap/gc-tracer.h
|
| index df30dccb6b5dd18d3ea4694241d348bbb7514e91..7fb6a766a6037181758eebd67eadaaa8f23b8bef 100644
|
| --- a/src/heap/gc-tracer.h
|
| +++ b/src/heap/gc-tracer.h
|
| @@ -389,6 +389,11 @@ class GCTracer {
|
| // Returns 0 if no allocation events have been recorded.
|
| size_t NewSpaceAllocatedBytesInLast(double time_ms) const;
|
|
|
| + // Allocation throughput in the new space in bytes/milliseconds in
|
| + // the last five seconds.
|
| + // Returns 0 if no allocation events have been recorded.
|
| + size_t CurrentNewSpaceAllocationThroughputInBytesPerMillisecond() const;
|
| +
|
| // Computes the context disposal rate in milliseconds. It takes the time
|
| // frame of the first recorded context disposal to the current time and
|
| // divides it by the number of recorded events.
|
|
|