67 std::map< std::string, __itt_event > _ittHandles;
100 std::string messageType,
101 long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message
144 void debug(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
145 void info(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
156 void warning(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
167 void error(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
172 void traceIn(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
173 void traceOut(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
201 void indent(
bool indent,
const std::string& trace,
const std::string& message );
std::string getTimeStampHumanReadable(long int timestampNanoseconds) const
static ITTLogger _singleton
void traceOut(long int timestampNanoseconds, 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.
ITTLogger & operator=(const CommandLineLogger &)=delete
Declared private since assignment does not make sense for an output class (output information mismatc...
bool getLogTrace() const
Is public as some analysis frameworks check explicitly whether these features are switched on.
void warning(long int timestampNanoseconds, int rank, int threadId, const std::string &trace, const std::string &message)
Write Warning.
void error(long int timestampNanoseconds, int rank, int threadId, const std::string &trace, const std::string &message)
Write Error.
tarch::multicore::BooleanSemaphore _semaphore
bool getLogTimeStamp() const
Is public as some analysis frameworks check explicitly whether these features are switched on.
ITTLogger()
It's a singleton.
void info(long int timestampNanoseconds, int rank, int threadId, const std::string &trace, const std::string &message)
std::string constructMessageString(std::string messageType, long int timestampNanoseconds, int rank, int threadId, const std::string &trace, const std::string &message)
Construct message string.
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)
ITTLogger(const ITTLogger &)=delete
Declared private since copying does not make sense for an output class (output information mismatch).
static ITTLogger & getInstance()
bool getLogThreadName() const
Is public as some analysis frameworks check explicitly whether these features are switched on.
void traceIn(long int timestampNanoseconds, int rank, int threadId, const std::string &trace, const std::string &message)
https://www.intel.com/content/www/us/en/docs/vtune-profiler/user-guide/2023-0/event-api....
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.