73 std::string messageType,
74 long int timestampMS,
int rank,
int threadId,
const std::string& trace,
const std::string& message
78 std::string messageType,
79 long int timestampMS,
int rank,
int threadId,
const std::string& trace,
const std::string& message
97 void debug(
long int timestampMS,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
98 void info(
long int timestampMS,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
99 void warning(
long int timestampMS,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
100 void error(
long int timestampMS,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
101 void traceIn(
long int timestampMS,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
102 void traceOut(
long int timestampMS,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
109 void indent(
bool indent,
const std::string& trace,
const std::string& message );
Chrome Trace File Logger.
void debug(long int timestampMS, int rank, int threadId, const std::string &trace, const std::string &message)
std::string constructEventEntryInTraceFile(std::string messageType, long int timestampMS, int rank, int threadId, const std::string &trace, const std::string &message)
void indent(bool indent, const std::string &trace, const std::string &message)
Tells the logger to increment/decrement the indent.
ChromeTraceFileLogger()
It's a singleton.
void info(long int timestampMS, int rank, int threadId, const std::string &trace, const std::string &message)
std::ostream * _outputStream
Test for the column separator of a string output.
void setQuitOnError(bool value)
ChromeTraceFileLogger & operator=(const ChromeTraceFileLogger &)
Declared private since assignment does not make sense for an output class (output information mismatc...
void traceIn(long int timestampMS, int rank, int threadId, const std::string &trace, const std::string &message)
tarch::multicore::BooleanSemaphore _semaphore
static ChromeTraceFileLogger _singleton
void error(long int timestampMS, int rank, int threadId, const std::string &trace, const std::string &message)
void configureOutputStreams()
Configures the output streams.
void setOutputFile(const std::string &outputLogFileName)
Is redundant, as you could use setLogFormat() instead.
std::string addSeparators(std::string message) const
Ensures each column has same length.
void traceOut(long int timestampMS, int rank, int threadId, const std::string &trace, const std::string &message)
static ChromeTraceFileLogger & getInstance()
void warning(long int timestampMS, int rank, int threadId, const std::string &trace, const std::string &message)
std::string constructMessageString(std::string messageType, long int timestampMS, int rank, int threadId, const std::string &trace, const std::string &message)
Construct message string for output to terminal.
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.