Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
v8::platform::tracing::TraceObject Class Reference

#include <v8-tracing.h>

Classes

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 ()
 

Constructor & Destructor Documentation

◆ TraceObject()

v8::platform::tracing::TraceObject::TraceObject ( )
default

◆ ~TraceObject()

v8::platform::tracing::TraceObject::~TraceObject ( )

Member Function Documentation

◆ arg_convertables()

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

◆ arg_names()

const char ** v8::platform::tracing::TraceObject::arg_names ( )
inline

◆ arg_types()

uint8_t * v8::platform::tracing::TraceObject::arg_types ( )
inline

◆ arg_values()

ArgValue * v8::platform::tracing::TraceObject::arg_values ( )
inline

◆ bind_id()

uint64_t v8::platform::tracing::TraceObject::bind_id ( ) const
inline

◆ category_enabled_flag()

const uint8_t * v8::platform::tracing::TraceObject::category_enabled_flag ( ) const
inline

◆ cpu_duration()

uint64_t v8::platform::tracing::TraceObject::cpu_duration ( )
inline

◆ duration()

uint64_t v8::platform::tracing::TraceObject::duration ( )
inline

◆ flags()

unsigned int v8::platform::tracing::TraceObject::flags ( ) const
inline

◆ id()

uint64_t v8::platform::tracing::TraceObject::id ( ) const
inline

◆ Initialize()

void v8::platform::tracing::TraceObject::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 v8::platform::tracing::TraceObject::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 * v8::platform::tracing::TraceObject::name ( ) const
inline

◆ num_args()

int v8::platform::tracing::TraceObject::num_args ( ) const
inline

◆ phase()

char v8::platform::tracing::TraceObject::phase ( ) const
inline

◆ pid()

int v8::platform::tracing::TraceObject::pid ( ) const
inline

◆ scope()

const char * v8::platform::tracing::TraceObject::scope ( ) const
inline

◆ tid()

int v8::platform::tracing::TraceObject::tid ( ) const
inline

◆ ts()

int64_t v8::platform::tracing::TraceObject::ts ( )
inline

◆ tts()

int64_t v8::platform::tracing::TraceObject::tts ( )
inline

◆ UpdateDuration()

void v8::platform::tracing::TraceObject::UpdateDuration ( int64_t  timestamp,
int64_t  cpu_timestamp 
)

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