Node.js  v8.x
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine
InternalTraceBuffer Class Reference

#include <node_trace_buffer.h>

Public Member Functions

 InternalTraceBuffer (size_t max_chunks, uint32_t id, NodeTraceWriter *trace_writer)
 
TraceObject * AddTraceEvent (uint64_t *handle)
 
TraceObject * GetEventByHandle (uint64_t handle)
 
void Flush (bool blocking)
 
bool IsFull () const
 
bool IsFlushing () const
 

Detailed Description

Definition at line 20 of file node_trace_buffer.h.

Constructor & Destructor Documentation

◆ InternalTraceBuffer()

InternalTraceBuffer ( size_t  max_chunks,
uint32_t  id,
NodeTraceWriter trace_writer 
)

Definition at line 6 of file node_trace_buffer.cc.

Member Function Documentation

◆ AddTraceEvent()

TraceObject * AddTraceEvent ( uint64_t *  handle)

Definition at line 13 of file node_trace_buffer.cc.

References InternalTraceBuffer::IsFull().

◆ Flush()

void Flush ( bool  blocking)

◆ GetEventByHandle()

TraceObject * GetEventByHandle ( uint64_t  handle)

Definition at line 31 of file node_trace_buffer.cc.

◆ IsFlushing()

bool IsFlushing ( ) const
inline

Definition at line 31 of file node_trace_buffer.h.

Referenced by NodeTraceBuffer::Flush().

◆ IsFull()

bool IsFull ( ) const
inline

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