Skip to content

tenzr::profiler::TraceEvent

One Chrome Trace Event entry recorded by the profiler.

#include <trace.h>

Public Attributes

Name
std::string name
std::string cat
char ph
int64_t ts_us
Start timestamp in microseconds.
int64_t dur_us
Duration in microseconds.
uint32_t pid
uint64_t tid
Thread id.
char s
std::unordered_map< std::string, std::string > args

Public Attributes Documentation

variable name

std::string name;

variable cat

std::string cat;

variable ph

char ph {'X'};

variable ts_us

int64_t ts_us {0};

Start timestamp in microseconds.

variable dur_us

int64_t dur_us {0};

Duration in microseconds.

variable pid

uint32_t pid {1};

variable tid

uint64_t tid {0};

Thread id.

variable s

char s {'t'};

variable args

std::unordered_map< std::string, std::string > args;