v8  5.8.282(node8.0.0)
V8 is Google's open source JavaScript engine
TracingController Class Reference

#include <v8-tracing.h>

Public Types

enum  Mode { DISABLED = 0, RECORDING_MODE }
 
enum  CategoryGroupEnabledFlags { ENABLED_FOR_RECORDING = 1 << 0, ENABLED_FOR_EVENT_CALLBACK = 1 << 2, ENABLED_FOR_ETW_EXPORT = 1 << 3 }
 

Public Member Functions

 TracingController ()
 
 ~TracingController ()
 
void Initialize (TraceBuffer *trace_buffer)
 
const uint8_t * GetCategoryGroupEnabled (const char *category_group)
 
uint64_t AddTraceEvent (char phase, const uint8_t *category_enabled_flag, const char *name, const char *scope, uint64_t id, uint64_t bind_id, int32_t num_args, const char **arg_names, const uint8_t *arg_types, const uint64_t *arg_values, std::unique_ptr< v8::ConvertableToTraceFormat > *arg_convertables, unsigned int flags)
 
void UpdateTraceEventDuration (const uint8_t *category_enabled_flag, const char *name, uint64_t handle)
 
void StartTracing (TraceConfig *trace_config)
 
void StopTracing ()
 
void AddTraceStateObserver (Platform::TraceStateObserver *observer)
 
void RemoveTraceStateObserver (Platform::TraceStateObserver *observer)
 

Static Public Member Functions

static const char * GetCategoryGroupName (const uint8_t *category_enabled_flag)
 

Detailed Description

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

Member Enumeration Documentation

Enumerator
ENABLED_FOR_RECORDING 
ENABLED_FOR_EVENT_CALLBACK 
ENABLED_FOR_ETW_EXPORT 

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

enum Mode
Enumerator
DISABLED 
RECORDING_MODE 

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

Constructor & Destructor Documentation

Member Function Documentation

uint64_t AddTraceEvent ( char  phase,
const uint8_t *  category_enabled_flag,
const char *  name,
const char *  scope,
uint64_t  id,
uint64_t  bind_id,
int32_t  num_args,
const char **  arg_names,
const uint8_t *  arg_types,
const uint64_t *  arg_values,
std::unique_ptr< v8::ConvertableToTraceFormat > *  arg_convertables,
unsigned int  flags 
)
void AddTraceStateObserver ( Platform::TraceStateObserver observer)
const uint8_t* GetCategoryGroupEnabled ( const char *  category_group)
static const char* GetCategoryGroupName ( const uint8_t *  category_enabled_flag)
static
void Initialize ( TraceBuffer trace_buffer)
void RemoveTraceStateObserver ( Platform::TraceStateObserver observer)
void StartTracing ( TraceConfig trace_config)
void StopTracing ( )
void UpdateTraceEventDuration ( const uint8_t *  category_enabled_flag,
const char *  name,
uint64_t  handle 
)

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