v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
TraceBufferChunk Class Reference

#include <v8-tracing.h>

Public Member Functions

 TraceBufferChunk (uint32_t seq)
 
void Reset (uint32_t new_seq)
 
bool IsFull () const
 
TraceObjectAddTraceEvent (size_t *event_index)
 
TraceObjectGetEventAt (size_t index)
 
uint32_t seq () const
 
size_t size () const
 

Static Public Attributes

static const size_t kChunkSize = 64
 

Detailed Description

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

Constructor & Destructor Documentation

◆ TraceBufferChunk()

TraceBufferChunk ( uint32_t  seq)
explicit

Member Function Documentation

◆ AddTraceEvent()

TraceObject * AddTraceEvent ( size_t *  event_index)

◆ GetEventAt()

TraceObject * GetEventAt ( size_t  index)
inline

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

◆ IsFull()

bool IsFull ( ) const
inline

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

◆ Reset()

void Reset ( uint32_t  new_seq)

◆ seq()

uint32_t seq ( ) const
inline

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

◆ size()

size_t size ( ) const
inline

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

Field Documentation

◆ kChunkSize

const size_t kChunkSize = 64
static

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


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