#include <TracingInterface.h>
|
| TraceWriter (const std::filesystem::path &file) |
| Constructor.
|
|
| ~TraceWriter () |
| Destructor.
|
|
| TraceWriter (const TraceWriter &)=delete |
| Special methods.
|
|
| TraceWriter (TraceWriter &&)=delete |
|
TraceWriter & | operator= (const TraceWriter &)=delete |
|
TraceWriter & | operator= (TraceWriter &&)=delete |
|
void | trace_duration_begin (const std::string &name, const std::string &category, const json &args={}, unsigned int pid=0) |
|
void | trace_duration_end (const std::string &name, const std::string &category, const json &args={}, unsigned int pid=0) |
|
void | trace_instant (const std::string &name, const std::string &category, const json &args={}, const std::string &scope="t", unsigned int pid=0) |
|
|
const std::string | filename |
| File name.
|
|
std::ofstream | out |
| Output stream for the trace file.
|
|
◆ TraceWriter() [1/3]
◆ ~TraceWriter()
◆ TraceWriter() [2/3]
◆ TraceWriter() [3/3]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ trace_duration_begin()
void trace_duration_begin |
( |
const std::string & | name, |
|
|
const std::string & | category, |
|
|
const json & | args = {}, |
|
|
unsigned int | pid = 0 ) |
◆ trace_duration_end()
void trace_duration_end |
( |
const std::string & | name, |
|
|
const std::string & | category, |
|
|
const json & | args = {}, |
|
|
unsigned int | pid = 0 ) |
◆ trace_instant()
void trace_instant |
( |
const std::string & | name, |
|
|
const std::string & | category, |
|
|
const json & | args = {}, |
|
|
const std::string & | scope = "t", |
|
|
unsigned int | pid = 0 ) |
◆ filename
const std::string filename |
◆ out
Output stream for the trace file.