22#include <scorep/SCOREP_User_Types.h>
88 std::map< std::string, SCOREP_User_RegionHandle > _scorePHandles;
119 std::string messageType,
120 long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message
159 void debug(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
160 void info(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
171 void warning(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
182 void error(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
184 void traceIn(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
203 void traceOut(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
void debug(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.
bool getLogMachineName() const
Is public as some analysis frameworks check explicitly whether these features are switched on.
bool getLogThreadName() const
Is public as some analysis frameworks check explicitly whether these features are switched on.
void traceOut(long int timestampNanoseconds, int rank, int threadId, const std::string &trace, const std::string &message)
Log trace out event.
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.
static ScorePLogger _singleton
static ScorePLogger & getInstance()
ScorePLogger()
It's a singleton.
void error(long int timestampNanoseconds, int rank, int threadId, const std::string &trace, const std::string &message)
Write Error.
void warning(long int timestampNanoseconds, int rank, int threadId, const std::string &trace, const std::string &message)
Write Warning.
std::string getTimeStampHumanReadable(long int timestampNanoseconds) const
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.
tarch::multicore::MultiReadSingleWriteSemaphore _semaphore
void indent(bool indent, const std::string &trace)
Tells the logger to increment/decrement the indent.
ScorePLogger & operator=(const CommandLineLogger &)=delete
Declared private since assignment does not make sense for an output class (output information mismatc...
ScorePLogger(const ScorePLogger &)=delete
Declared private since copying does not make sense for an output class (output information mismatch).
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.