6#ifndef resourceMonitor_hh
7#define resourceMonitor_hh
12#include <sys/resource.h>
20 int getrusage(
int who,
struct rusage* ru);
75 memset(&t_old, 0,
sizeof(t_old));
76 memset(&t_cur, 0,
sizeof(t_cur));
83 double stop(
int nrun = 1);
85 double reset(
int nrun = 1) {
86 double t = stop(nrun);
Timer and resource monitor.
std::ostream & sample(std::ostream &os)
Set< F > makeSet(uint n, const F &first,...)