21 #ifndef stopwatch_hh__
22 #define stopwatch_hh__
47 mutable struct timeval tv1,
tv2;
48 mutable struct timezone
tz;
struct timeval tv1 tv2
Definition: Stopwatch.hh:47
long seconds() const
Definition: Stopwatch.cc:70
struct timezone tz
Definition: Stopwatch.hh:48
std::ostream & operator<<(std::ostream &, const Stopwatch &)
Definition: Stopwatch.cc:82
Definition: Stopwatch.hh:32
void stop()
Definition: Stopwatch.cc:43
long diffsec
Definition: Stopwatch.hh:49
void checkpoint_() const
Definition: Stopwatch.cc:54
long useconds() const
Definition: Stopwatch.cc:76
bool stopped_
Definition: Stopwatch.hh:50
Stopwatch()
Definition: Stopwatch.cc:24
bool stopped() const
Definition: Stopwatch.cc:49
friend std::ostream & operator<<(std::ostream &, const Stopwatch &)
Definition: Stopwatch.cc:82
void start()
Definition: Stopwatch.cc:37
long diffusec
Definition: Stopwatch.hh:49
void reset()
Definition: Stopwatch.cc:30