v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::CodeEvent Class Reference

#include <v8-profiler.h>

Collaboration diagram for v8::CodeEvent:

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 1285 of file v8-profiler.h.

Member Function Documentation

◆ GetCodeEventTypeName()

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

Definition at line 11547 of file api.cc.

◆ GetCodeSize()

size_t v8::CodeEvent::GetCodeSize ( )

Definition at line 11513 of file api.cc.

◆ GetCodeStartAddress()

uintptr_t v8::CodeEvent::GetCodeStartAddress ( )

Definition at line 11509 of file api.cc.

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

Definition at line 11535 of file api.cc.

◆ GetComment()

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

Definition at line 11539 of file api.cc.

◆ GetFunctionName()

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

Definition at line 11517 of file api.cc.

Here is the call graph for this function:

◆ GetPreviousCodeStartAddress()

uintptr_t v8::CodeEvent::GetPreviousCodeStartAddress ( )

Definition at line 11543 of file api.cc.

◆ GetScriptColumn()

int v8::CodeEvent::GetScriptColumn ( )

Definition at line 11531 of file api.cc.

◆ GetScriptLine()

int v8::CodeEvent::GetScriptLine ( )

Definition at line 11527 of file api.cc.

◆ GetScriptName()

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

Definition at line 11522 of file api.cc.

Here is the call graph for this function:

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