| Index: src/profiler/sampling-heap-profiler.h
|
| diff --git a/src/profiler/sampling-heap-profiler.h b/src/profiler/sampling-heap-profiler.h
|
| index 9aee282c8aff3da185df0aaea3b732989ab92cdf..0b538b070c49cdb62783ad7ced5263e05d221ebf 100644
|
| --- a/src/profiler/sampling-heap-profiler.h
|
| +++ b/src/profiler/sampling-heap-profiler.h
|
| @@ -111,6 +111,8 @@ class SamplingHeapProfiler {
|
| v8::AllocationProfile::Node* TranslateAllocationNode(
|
| AllocationProfile* profile, SamplingHeapProfiler::AllocationNode* node,
|
| const std::map<int, Script*>& scripts);
|
| + v8::AllocationProfile::Allocation ScaleSample(size_t size,
|
| + unsigned int count);
|
| AllocationNode* AddStack();
|
| AllocationNode* FindOrAddChildNode(AllocationNode* parent, const char* name,
|
| int script_id, int start_position);
|
| @@ -123,6 +125,7 @@ class SamplingHeapProfiler {
|
| AllocationNode profile_root_;
|
| std::set<Sample*> samples_;
|
| const int stack_depth_;
|
| + const uint64_t rate_;
|
|
|
| friend class SamplingAllocationObserver;
|
| };
|
|
|