84 std::string messageType,
85 long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message
124 void debug(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
125 void info(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
136 void warning(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
147 void error(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
149 void traceIn(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
150 void traceOut(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
178 void indent(
bool indent,
const std::string& trace,
const std::string& message );
tarch::multicore::BooleanSemaphore _semaphore
void indent(bool indent, const std::string &trace, const std::string &message)
Tells the logger to increment/decrement the indent.
static NVTXLogger _singleton
NVTXLogger & operator=(const CommandLineLogger &)=delete
Declared private since assignment does not make sense for an output class (output information mismatc...
void traceIn(long int timestampNanoseconds, int rank, int threadId, const std::string &trace, const std::string &message)
bool getLogTimeStamp() const
Is public as some analysis frameworks check explicitly whether these features are switched on.
void info(long int timestampNanoseconds, int rank, int threadId, const std::string &trace, const std::string &message)
bool getLogTrace() const
Is public as some analysis frameworks check explicitly whether these features are switched on.
NVTXLogger()
It's a singleton.
static NVTXLogger & getInstance()
void warning(long int timestampNanoseconds, int rank, int threadId, const std::string &trace, const std::string &message)
Write Warning.
void traceOut(long int timestampNanoseconds, int rank, int threadId, const std::string &trace, const std::string &message)
NVTXLogger(const NVTXLogger &)=delete
Declared private since copying does not make sense for an output class (output information mismatch).
std::string getTimeStampHumanReadable(long int timestampNanoseconds) const
void error(long int timestampNanoseconds, int rank, int threadId, const std::string &trace, const std::string &message)
Write Error.
bool getLogMachineName() const
Is public as some analysis frameworks check explicitly whether these features are switched on.
void debug(long int timestampNanoseconds, int rank, int threadId, const std::string &trace, const std::string &message)
bool getLogThreadName() const
Is public as some analysis frameworks check explicitly whether these features are switched on.
std::string constructMessageString(std::string messageType, long int timestampNanoseconds, int rank, int threadId, const std::string &trace, const std::string &message)
Construct message string.
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.