v8  6.2.414(node9.11.2)
V8 is Google's open source JavaScript engine
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 122 of file v8-tracing.h.

Constructor & Destructor Documentation

TraceBufferChunk ( uint32_t  seq)

Member Function Documentation

TraceObject* AddTraceEvent ( size_t *  event_index)
TraceObject* GetEventAt ( size_t  index)

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

bool IsFull ( ) const

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

void Reset ( uint32_t  new_seq)
uint32_t seq ( ) const

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

size_t size ( ) const

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

Field Documentation

const size_t kChunkSize = 64

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

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