59 peak_ = size_ = rss_ = 0;
88 is >> m.peak_ >> m.size_ >> m.rss_ >> m.free_;
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
virtual bool check(const char *operation) const
Check IOstream status for given operation.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
bool readEnd(const char *funcName)
End read of data chunk, ends with ')'.
bool readBegin(const char *funcName)
Begin read of data chunk, starts with '('.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
virtual bool write()
Write the output fields.
Memory usage information for the current process, and the system memory that is free.
bool valid() const
True if the memory information appears valid.
memInfo()
Construct and populate with values.
void clear()
Reset to zero.
const memInfo & update()
Update according to /proc/PID/status and /proc/memory contents.
@ BEGIN_LIST
Begin list [isseparator].
@ END_LIST
End list [isseparator].
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Istream & operator>>(Istream &, directionInfo &)