v8  7.0.276 (node 11.14.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, int64_t timestamp, int64_t cpu_timestamp)
 
void UpdateDuration (int64_t timestamp, int64_t cpu_timestamp)
 
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()

TraceObject ( )
inline

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

◆ ~TraceObject()

Member Function Documentation

◆ arg_convertables()

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

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

◆ arg_names()

const char** arg_names ( )
inline

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

◆ arg_types()

uint8_t* arg_types ( )
inline

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

◆ arg_values()

ArgValue* arg_values ( )
inline

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

◆ bind_id()

uint64_t bind_id ( ) const
inline

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

◆ category_enabled_flag()

const uint8_t* category_enabled_flag ( ) const
inline

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

◆ cpu_duration()

uint64_t cpu_duration ( )
inline

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

◆ duration()

uint64_t duration ( )
inline

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

◆ flags()

unsigned int flags ( ) const
inline

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

◆ id()

uint64_t id ( ) const
inline

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

◆ Initialize()

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,
int64_t  timestamp,
int64_t  cpu_timestamp 
)

◆ InitializeForTesting()

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 
)

◆ name()

const char* name ( ) const
inline

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

◆ num_args()

int num_args ( ) const
inline

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

◆ phase()

char phase ( ) const
inline

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

◆ pid()

int pid ( ) const
inline

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

◆ scope()

const char* scope ( ) const
inline

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

◆ tid()

int tid ( ) const
inline

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

◆ ts()

int64_t ts ( )
inline

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

◆ tts()

int64_t tts ( )
inline

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

◆ UpdateDuration()

void UpdateDuration ( int64_t  timestamp,
int64_t  cpu_timestamp 
)

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