0.95.0-final
Finite Element Embedded Library and Language in C++
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
pslogger.hpp
1
#ifndef _PSLOGGER_HPP_
2
#define _PSLOGGER_HPP_
3
4
#include <string>
5
#include <
feel/feelcore/environment.hpp
>
6
7
namespace
Feel
8
{
9
13
class
PsLogger
14
{
15
16
public
:
17
25
PsLogger
( std::string fileName, WorldComm
const
& worldComm=Environment::worldComm(), std::string format=
"rss pmem pcpu"
);
26
30
void
log
( std::string logMessage );
31
32
std::string fileName()
const
{
return
M_fileName; }
33
34
WorldComm
const
& worldComm()
const
{
return
M_worldComm; }
35
36
private
:
37
38
WorldComm M_worldComm;
39
std::string M_fileName;
40
std::string M_command;
41
42
};
43
44
}
// namespace Feel
45
46
#endif // _PSLOGGER_HPP_
Generated on Fri Oct 25 2013 14:24:23 for Feel++ by
1.8.4