Searched refs:_accumulated (Results 1 - 1 of 1) sorted by relevance

/macosx-10.10.1/libauto-186/
H A DStatistics.h47 volatile int64_t _accumulated; // The total accumulated time, in microseconds member in class:Auto::Timer
51 Timer() : _start(0), _accumulated(0) {}
63 void reset() { assert(!timer_running()); _accumulated = 0; }
66 void add_time(usword_t duration) { OSAtomicAdd64(duration, &_accumulated); }
69 void add_time(Timer &other) { OSAtomicAdd64(other.microseconds(), &_accumulated); }
72 int64_t microseconds() const { assert(!timer_running()); return _accumulated; }

Completed in 109 milliseconds