v8  9.4.146 (node 16.13.0)
V8 is Google's open source JavaScript engine
CodeEvent Class Reference

#include <v8-profiler.h>

Public Member Functions

uintptr_t GetCodeStartAddress ()
 
size_t GetCodeSize ()
 
Local< StringGetFunctionName ()
 
Local< StringGetScriptName ()
 
int GetScriptLine ()
 
int GetScriptColumn ()
 
CodeEventType GetCodeType ()
 
const char * GetComment ()
 
uintptr_t GetPreviousCodeStartAddress ()
 

Static Public Member Functions

static const char * GetCodeEventTypeName (CodeEventType code_event_type)
 

Detailed Description

Representation of a code creation event

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

Member Function Documentation

◆ GetCodeEventTypeName()

static const char* GetCodeEventTypeName ( CodeEventType  code_event_type)
static

◆ GetCodeSize()

size_t GetCodeSize ( )

◆ GetCodeStartAddress()

uintptr_t GetCodeStartAddress ( )

◆ GetCodeType()

CodeEventType GetCodeType ( )

NOTE (mmarchini): We can't allocate objects in the heap when we collect existing code, and both the code type and the comment are not stored in the heap, so we return those as const char*.

◆ GetComment()

const char* GetComment ( )

◆ GetFunctionName()

Local<String> GetFunctionName ( )

◆ GetPreviousCodeStartAddress()

uintptr_t GetPreviousCodeStartAddress ( )

◆ GetScriptColumn()

int GetScriptColumn ( )

◆ GetScriptLine()

int GetScriptLine ( )

◆ GetScriptName()

Local<String> GetScriptName ( )

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