V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
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 charGetComment ()
 

Static Public Member Functions

static const charGetCodeEventTypeName (CodeEventType code_event_type)
 

Detailed Description

Representation of a code creation event

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

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

Definition at line 10195 of file api.cc.


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