| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 9b115848d240ce72856b0f8dee433578b0a0a2b5..dd47f2c950bc62d7a35201a2e0c920908f8563e5 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -8277,6 +8277,23 @@ SnapshotObjectId HeapProfiler::GetHeapStats(OutputStream* stream,
|
| }
|
|
|
|
|
| +bool HeapProfiler::StartSamplingHeapProfiler(uint64_t sample_interval,
|
| + int stack_depth) {
|
| + return reinterpret_cast<i::HeapProfiler*>(this)
|
| + ->StartSamplingHeapProfiler(sample_interval, stack_depth);
|
| +}
|
| +
|
| +
|
| +void HeapProfiler::StopSamplingHeapProfiler() {
|
| + reinterpret_cast<i::HeapProfiler*>(this)->StopSamplingHeapProfiler();
|
| +}
|
| +
|
| +
|
| +AllocationProfile* HeapProfiler::GetAllocationProfile() {
|
| + return reinterpret_cast<i::HeapProfiler*>(this)->GetAllocationProfile();
|
| +}
|
| +
|
| +
|
| void HeapProfiler::DeleteAllHeapSnapshots() {
|
| reinterpret_cast<i::HeapProfiler*>(this)->DeleteAllSnapshots();
|
| }
|
|
|