![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <sampling-heap-profiler.h>
Public Member Functions | |
AllocationProfile ()=default | |
AllocationProfile (const AllocationProfile &)=delete | |
AllocationProfile & | operator= (const AllocationProfile &)=delete |
v8::AllocationProfile::Node * | GetRootNode () override |
const std::vector< v8::AllocationProfile::Sample > & | GetSamples () override |
![]() | |
virtual | ~AllocationProfile ()=default |
Private Attributes | |
std::deque< v8::AllocationProfile::Node > | nodes_ |
std::vector< v8::AllocationProfile::Sample > | samples_ |
Friends | |
class | SamplingHeapProfiler |
Additional Inherited Members | |
![]() | |
static const int | kNoLineNumberInfo = Message::kNoLineNumberInfo |
static const int | kNoColumnNumberInfo = Message::kNoColumnInfo |
Definition at line 25 of file sampling-heap-profiler.h.
|
default |
|
delete |
|
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.
|
inlineoverridevirtual |
Implements v8::AllocationProfile.
Definition at line 35 of file sampling-heap-profiler.h.
|
delete |
|
friend |
Definition at line 43 of file sampling-heap-profiler.h.
|
private |
Definition at line 40 of file sampling-heap-profiler.h.
|
private |
Definition at line 41 of file sampling-heap-profiler.h.