v8  7.0.276 (node 11.14.0)
V8 is Google's open source JavaScript engine
TraceBuffer Class Referenceabstract

#include <v8-tracing.h>

Public Member Functions

 TraceBuffer ()
 
virtual ~TraceBuffer ()
 
virtual TraceObjectAddTraceEvent (uint64_t *handle)=0
 
virtual TraceObjectGetEventByHandle (uint64_t handle)=0
 
virtual bool Flush ()=0
 

Static Public Member Functions

static TraceBufferCreateTraceBufferRingBuffer (size_t max_chunks, TraceWriter *trace_writer)
 

Static Public Attributes

static const size_t kRingBufferChunks = 1024
 

Detailed Description

Definition at line 148 of file v8-tracing.h.

Constructor & Destructor Documentation

◆ TraceBuffer()

TraceBuffer ( )
inline

Definition at line 150 of file v8-tracing.h.

◆ ~TraceBuffer()

virtual ~TraceBuffer ( )
inlinevirtual

Definition at line 151 of file v8-tracing.h.

Member Function Documentation

◆ AddTraceEvent()

virtual TraceObject* AddTraceEvent ( uint64_t *  handle)
pure virtual

◆ CreateTraceBufferRingBuffer()

static TraceBuffer* CreateTraceBufferRingBuffer ( size_t  max_chunks,
TraceWriter trace_writer 
)
static

◆ Flush()

virtual bool Flush ( )
pure virtual

◆ GetEventByHandle()

virtual TraceObject* GetEventByHandle ( uint64_t  handle)
pure virtual

Field Documentation

◆ kRingBufferChunks

const size_t kRingBufferChunks = 1024
static

Definition at line 157 of file v8-tracing.h.


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