25 PsLogger( std::string fileName, WorldComm
const& worldComm=Environment::worldComm(), std::string format=
"rss pmem pcpu" );
30 void log( std::string logMessage );
32 std::string fileName()
const {
return M_fileName; }
34 WorldComm
const& worldComm()
const {
return M_worldComm; }
38 WorldComm M_worldComm;
39 std::string M_fileName;
40 std::string M_command;
46 #endif // _PSLOGGER_HPP_
PsLogger(std::string fileName, WorldComm const &worldComm=Environment::worldComm(), std::string format="rss pmem pcpu")
Definition: pslogger.cpp:14
void log(std::string logMessage)
Definition: pslogger.cpp:36
Definition: pslogger.hpp:13