v8  10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
TraceConfig Class Reference

#include <v8-tracing.h>

Public Types

typedef std::vector< std::string > StringList
 

Public Member Functions

 TraceConfig ()
 
TraceRecordMode GetTraceRecordMode () const
 
const StringListGetEnabledCategories () const
 
bool IsSystraceEnabled () const
 
bool IsArgumentFilterEnabled () const
 
void SetTraceRecordMode (TraceRecordMode mode)
 
void EnableSystrace ()
 
void EnableArgumentFilter ()
 
void AddIncludedCategory (const char *included_category)
 
bool IsCategoryGroupEnabled (const char *category_group) const
 

Static Public Member Functions

static TraceConfigCreateDefaultTraceConfig ()
 

Detailed Description

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

Member Typedef Documentation

◆ StringList

typedef std::vector<std::string> StringList

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

Constructor & Destructor Documentation

◆ TraceConfig()

TraceConfig ( )
inline

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

Member Function Documentation

◆ AddIncludedCategory()

void AddIncludedCategory ( const char *  included_category)

◆ CreateDefaultTraceConfig()

static TraceConfig* CreateDefaultTraceConfig ( )
static

◆ EnableArgumentFilter()

void EnableArgumentFilter ( )
inline

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

◆ EnableSystrace()

void EnableSystrace ( )
inline

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

◆ GetEnabledCategories()

const StringList& GetEnabledCategories ( ) const
inline

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

◆ GetTraceRecordMode()

TraceRecordMode GetTraceRecordMode ( ) const
inline

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

◆ IsArgumentFilterEnabled()

bool IsArgumentFilterEnabled ( ) const
inline

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

◆ IsCategoryGroupEnabled()

bool IsCategoryGroupEnabled ( const char *  category_group) const

◆ IsSystraceEnabled()

bool IsSystraceEnabled ( ) const
inline

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

◆ SetTraceRecordMode()

void SetTraceRecordMode ( TraceRecordMode  mode)
inline

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


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