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

#include <v8-tracing.h>

Data Structures

union  ArgValue
 

Public Member Functions

 TraceObject ()
 
 ~TraceObject ()
 
void Initialize (char phase, const uint8_t *category_enabled_flag, const char *name, const char *scope, uint64_t id, uint64_t bind_id, int 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 UpdateDuration ()
 
void InitializeForTesting (char phase, const uint8_t *category_enabled_flag, const char *name, const char *scope, uint64_t id, uint64_t bind_id, int 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, int pid, int tid, int64_t ts, int64_t tts, uint64_t duration, uint64_t cpu_duration)
 
int pid () const
 
int tid () const
 
char phase () const
 
const uint8_t * category_enabled_flag () const
 
const char * name () const
 
const char * scope () const
 
uint64_t id () const
 
uint64_t bind_id () const
 
int num_args () const
 
const char ** arg_names ()
 
uint8_t * arg_types ()
 
ArgValuearg_values ()
 
std::unique_ptr< v8::ConvertableToTraceFormat > * arg_convertables ()
 
unsigned int flags () const
 
int64_t ts ()
 
int64_t tts ()
 
uint64_t duration ()
 
uint64_t cpu_duration ()
 

Detailed Description

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

Constructor & Destructor Documentation

TraceObject ( )
inline

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

Member Function Documentation

std::unique_ptr<v8::ConvertableToTraceFormat>* arg_convertables ( )
inline

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

References TraceObject::cpu_duration().

const char** arg_names ( )
inline

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

uint8_t* arg_types ( )
inline

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

ArgValue* arg_values ( )
inline

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

uint64_t bind_id ( ) const
inline

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

const uint8_t* category_enabled_flag ( ) const
inline

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

uint64_t cpu_duration ( )
inline
uint64_t duration ( )
inline

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

References TraceObject::cpu_duration().

unsigned int flags ( ) const
inline

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

References TraceObject::cpu_duration().

uint64_t id ( ) const
inline

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

void Initialize ( char  phase,
const uint8_t *  category_enabled_flag,
const char *  name,
const char *  scope,
uint64_t  id,
uint64_t  bind_id,
int  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 InitializeForTesting ( char  phase,
const uint8_t *  category_enabled_flag,
const char *  name,
const char *  scope,
uint64_t  id,
uint64_t  bind_id,
int  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,
int  pid,
int  tid,
int64_t  ts,
int64_t  tts,
uint64_t  duration,
uint64_t  cpu_duration 
)
const char* name ( ) const
inline

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

int num_args ( ) const
inline

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

char phase ( ) const
inline

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

int pid ( ) const
inline

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

const char* scope ( ) const
inline

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

int tid ( ) const
inline

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

int64_t ts ( )
inline

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

References TraceObject::cpu_duration().

int64_t tts ( )
inline

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

References TraceObject::cpu_duration().

void UpdateDuration ( )

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