resourceMonitor.hh
rusage ru_
Stores snapshot of resources since construction or last output.
Definition: resourceMonitor.hh:36
void start()
friend std::ostream & operator<<(std::ostream &os, ResourceMonitor &rm)
Definition: resourceMonitor.hh:30
double stop(int nrun=1)
std::ostream & sample(std::ostream &os)
Returns an output stream with resource information.
float utime()
Returns the user time since the last call of ResourceMonitor using getrusage.