Lines Matching refs:AllocationProfile
25 class AllocationProfile : public v8::AllocationProfile {
27 AllocationProfile() = default;
28 AllocationProfile(const AllocationProfile&) = delete;
29 AllocationProfile& operator=(const AllocationProfile&) = delete;
31 v8::AllocationProfile::Node* GetRootNode() override {
35 const std::vector<v8::AllocationProfile::Sample>& GetSamples() override {
40 std::deque<v8::AllocationProfile::Node> nodes_;
41 std::vector<v8::AllocationProfile::Sample> samples_;
125 v8::AllocationProfile* GetAllocationProfile();
163 const std::vector<v8::AllocationProfile::Sample> BuildSamples() const;
172 // Methods that construct v8::AllocationProfile.
175 // AllocationProfile::Node. The newly created AllocationProfile::Node is added
176 // to the provided AllocationProfile *profile*. Line numbers, column numbers,
179 v8::AllocationProfile::Node* TranslateAllocationNode(
180 AllocationProfile* profile, SamplingHeapProfiler::AllocationNode* node,
182 v8::AllocationProfile::Allocation ScaleSample(size_t size,