Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
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 ()
 
uintptr_t GetPreviousCodeStartAddress ()
 

Static Public Member Functions

static const char * GetCodeEventTypeName (CodeEventType code_event_type)
 

Detailed Description

Representation of a code creation event

Member Function Documentation

◆ GetCodeEventTypeName()

static const char * v8::CodeEvent::GetCodeEventTypeName ( CodeEventType  code_event_type)
static

◆ GetCodeSize()

size_t v8::CodeEvent::GetCodeSize ( )

◆ GetCodeStartAddress()

uintptr_t v8::CodeEvent::GetCodeStartAddress ( )

◆ 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*.

◆ GetComment()

const char * v8::CodeEvent::GetComment ( )

◆ GetFunctionName()

Local< String > v8::CodeEvent::GetFunctionName ( )

◆ GetPreviousCodeStartAddress()

uintptr_t v8::CodeEvent::GetPreviousCodeStartAddress ( )

◆ GetScriptColumn()

int v8::CodeEvent::GetScriptColumn ( )

◆ GetScriptLine()

int v8::CodeEvent::GetScriptLine ( )

◆ GetScriptName()

Local< String > v8::CodeEvent::GetScriptName ( )

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