Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
v8::platform::tracing::TraceBuffer Class Referenceabstract

#include <v8-tracing.h>

Public Member Functions

 TraceBuffer ()=default
 
virtual ~TraceBuffer ()=default
 
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
 

Constructor & Destructor Documentation

◆ TraceBuffer()

v8::platform::tracing::TraceBuffer::TraceBuffer ( )
default

◆ ~TraceBuffer()

virtual v8::platform::tracing::TraceBuffer::~TraceBuffer ( )
virtualdefault

Member Function Documentation

◆ AddTraceEvent()

virtual TraceObject * v8::platform::tracing::TraceBuffer::AddTraceEvent ( uint64_t *  handle)
pure virtual

◆ CreateTraceBufferRingBuffer()

static TraceBuffer * v8::platform::tracing::TraceBuffer::CreateTraceBufferRingBuffer ( size_t  max_chunks,
TraceWriter trace_writer 
)
static

◆ Flush()

virtual bool v8::platform::tracing::TraceBuffer::Flush ( )
pure virtual

◆ GetEventByHandle()

virtual TraceObject * v8::platform::tracing::TraceBuffer::GetEventByHandle ( uint64_t  handle)
pure virtual

Member Data Documentation

◆ kRingBufferChunks

const size_t v8::platform::tracing::TraceBuffer::kRingBufferChunks = 1024
static

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