Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Memory usage information for the process running this object.
friend Istream & operator>>(Istream &, memInfo &)
Read peak/size/rss from stream.
bool valid() const
True if the memory information appears valid.
int rss() const
Access the stored rss value (VmRSS in /proc/<pid>/status)
int peak() const
Access the stored peak memory (VmPeak in /proc/<pid>/status)
friend Ostream & operator<<(Ostream &, const memInfo &)
Write peak/size/rss to stream.
const memInfo & update()
Parse /proc/<pid>/status.
int size() const
Access the stored memory size (VmSize in /proc/<pid>/status)
Istream & operator>>(Istream &, pistonPointEdgeData &)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)