v8  9.4.146 (node 16.13.0)
V8 is Google's open source JavaScript engine
TraceObject Class Reference

#include <v8-tracing.h>

Data Structures

union  ArgValue
 

Public Member Functions

 TraceObject ()=default
 
 ~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 37 of file v8-tracing.h.

Constructor & Destructor Documentation

◆ TraceObject()

TraceObject ( )
default

◆ ~TraceObject()

Member Function Documentation

◆ arg_convertables()

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

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

◆ arg_names()

const char** arg_names ( )
inline

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

◆ arg_types()

uint8_t* arg_types ( )
inline

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

◆ arg_values()

ArgValue* arg_values ( )
inline

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

◆ bind_id()

uint64_t bind_id ( ) const
inline

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

◆ category_enabled_flag()

const uint8_t* category_enabled_flag ( ) const
inline

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

◆ cpu_duration()

uint64_t cpu_duration ( )
inline

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

◆ duration()

uint64_t duration ( )
inline

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

◆ flags()

unsigned int flags ( ) const
inline

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

◆ id()

uint64_t id ( ) const
inline

Definition at line 75 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 73 of file v8-tracing.h.

◆ num_args()

int num_args ( ) const
inline

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

◆ phase()

char phase ( ) const
inline

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

◆ pid()

int pid ( ) const
inline

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

◆ scope()

const char* scope ( ) const
inline

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

◆ tid()

int tid ( ) const
inline

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

◆ ts()

int64_t ts ( )
inline

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

◆ tts()

int64_t tts ( )
inline

Definition at line 86 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: