V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
|
#include <v8-profiler.h>
Classes | |
struct | Allocation |
struct | Node |
struct | Sample |
Public Member Functions | |
virtual Node * | GetRootNode ()=0 |
virtual const std::vector< Sample > & | GetSamples ()=0 |
Static Public Attributes | |
static const int | kNoLineNumberInfo = Message::kNoLineNumberInfo |
static const int | kNoColumnNumberInfo = Message::kNoColumnInfo |
AllocationProfile is a sampled profile of allocations done by the program. This is structured as a call-graph.
Definition at line 561 of file v8-profiler.h.
|
pure virtual |
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.
Implemented in v8::internal::AllocationProfile.