v8  6.7.288(node10.6.0)
V8 is Google's open source JavaScript engine
EmbedderGraph::Node Class Referenceabstract

#include <v8-profiler.h>

Public Member Functions

 Node ()=default
 
virtual ~Node ()=default
 
virtual const char * Name ()=0
 
virtual size_t SizeInBytes ()=0
 
virtual NodeWrapperNode ()
 
virtual bool IsRootNode ()
 
virtual bool IsEmbedderNode ()
 
virtual const char * NamePrefix ()
 

Detailed Description

Definition at line 647 of file v8-profiler.h.

Constructor & Destructor Documentation

Node ( )
default
virtual ~Node ( )
virtualdefault

Member Function Documentation

virtual bool IsEmbedderNode ( )
inlinevirtual

Must return true for non-V8 nodes.

Definition at line 661 of file v8-profiler.h.

virtual bool IsRootNode ( )
inlinevirtual

Definition at line 659 of file v8-profiler.h.

virtual const char* Name ( )
pure virtual
virtual const char* NamePrefix ( )
inlinevirtual

Optional name prefix. It is used in Chrome for tagging detached nodes.

Definition at line 665 of file v8-profiler.h.

virtual size_t SizeInBytes ( )
pure virtual
virtual Node* WrapperNode ( )
inlinevirtual

The corresponding V8 wrapper node if not null. During heap snapshot generation the embedder node and the V8 wrapper node will be merged into one node to simplify retaining paths.

Definition at line 658 of file v8-profiler.h.


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