Galois
|
A multi-start time accumulator. More...
#include <Timer.h>
Public Member Functions | |
TimeAccumulator () | |
void | start () |
void | stop () |
adds the current timed interval to the total More... | |
uint64_t | get () const |
uint64_t | get_usec () const |
TimeAccumulator & | operator+= (const TimeAccumulator &rhs) |
TimeAccumulator & | operator+= (const Timer &rhs) |
A multi-start time accumulator.
Gives the final runtime for a series of intervals
TimeAccumulator::TimeAccumulator | ( | ) |
uint64_t TimeAccumulator::get | ( | void | ) | const |
uint64_t TimeAccumulator::get_usec | ( | ) | const |
TimeAccumulator & TimeAccumulator::operator+= | ( | const TimeAccumulator & | rhs | ) |
TimeAccumulator & TimeAccumulator::operator+= | ( | const Timer & | rhs | ) |
void TimeAccumulator::start | ( | ) |
void TimeAccumulator::stop | ( | ) |
adds the current timed interval to the total