21#include <scorep/SCOREP_User_Types.h>
63 std::map< std::string, SCOREP_User_RegionHandle > _scorePHandles;
94 std::string messageType,
95 long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message
134 void debug(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
135 void info(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
146 void warning(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
157 void error(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
159 void traceIn(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
160 void traceOut(
long int timestampNanoseconds,
int rank,
int threadId,
const std::string& trace,
const std::string& message);
188 void indent(
bool indent,
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)
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)
tarch::multicore::BooleanSemaphore _semaphore
void indent(bool indent, const std::string &trace, const std::string &message)
Tells the logger to increment/decrement the indent.
std::string constructMessageString(std::string messageType, long int timestampNanoseconds, int rank, int threadId, const std::string &trace, const std::string &message)
Construct message string.
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.