V8 API Reference Guide generated from the header files
Public Member Functions | Static Public Member Functions
v8::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 ()
 

Static Public Member Functions

static const char * GetCodeEventTypeName (CodeEventType code_event_type)
 

Detailed Description

Representation of a code creation event

Member Function Documentation

◆ GetCodeType()

CodeEventType v8::CodeEvent::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*.


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