v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::AllocationProfile Class Reference

#include <sampling-heap-profiler.h>

Inheritance diagram for v8::internal::AllocationProfile:
Collaboration diagram for v8::internal::AllocationProfile:

Public Member Functions

 AllocationProfile ()=default
 
 AllocationProfile (const AllocationProfile &)=delete
 
AllocationProfileoperator= (const AllocationProfile &)=delete
 
v8::AllocationProfile::NodeGetRootNode () override
 
const std::vector< v8::AllocationProfile::Sample > & GetSamples () override
 
- Public Member Functions inherited from v8::AllocationProfile
virtual ~AllocationProfile ()=default
 

Private Attributes

std::deque< v8::AllocationProfile::Nodenodes_
 
std::vector< v8::AllocationProfile::Samplesamples_
 

Friends

class SamplingHeapProfiler
 

Additional Inherited Members

- Static Public Attributes inherited from v8::AllocationProfile
static const int kNoLineNumberInfo = Message::kNoLineNumberInfo
 
static const int kNoColumnNumberInfo = Message::kNoColumnInfo
 

Detailed Description

Definition at line 25 of file sampling-heap-profiler.h.

Constructor & Destructor Documentation

◆ AllocationProfile() [1/2]

v8::internal::AllocationProfile::AllocationProfile ( )
default

◆ AllocationProfile() [2/2]

v8::internal::AllocationProfile::AllocationProfile ( const AllocationProfile & )
delete

Member Function Documentation

◆ GetRootNode()

v8::AllocationProfile::Node * v8::internal::AllocationProfile::GetRootNode ( )
inlineoverridevirtual

Returns the root node of the call-graph. The root node corresponds to an empty JS call-stack. The lifetime of the returned Node* is scoped to the containing AllocationProfile.

Implements v8::AllocationProfile.

Definition at line 31 of file sampling-heap-profiler.h.

◆ GetSamples()

const std::vector< v8::AllocationProfile::Sample > & v8::internal::AllocationProfile::GetSamples ( )
inlineoverridevirtual

Implements v8::AllocationProfile.

Definition at line 35 of file sampling-heap-profiler.h.

◆ operator=()

AllocationProfile & v8::internal::AllocationProfile::operator= ( const AllocationProfile & )
delete

Friends And Related Symbol Documentation

◆ SamplingHeapProfiler

friend class SamplingHeapProfiler
friend

Definition at line 43 of file sampling-heap-profiler.h.

Member Data Documentation

◆ nodes_

std::deque<v8::AllocationProfile::Node> v8::internal::AllocationProfile::nodes_
private

Definition at line 40 of file sampling-heap-profiler.h.

◆ samples_

std::vector<v8::AllocationProfile::Sample> v8::internal::AllocationProfile::samples_
private

Definition at line 41 of file sampling-heap-profiler.h.


The documentation for this class was generated from the following file: