ext/common/Timer.h in passenger-2.2.4 vs ext/common/Timer.h in passenger-2.2.5
- old
+ new
@@ -61,9 +61,11 @@
/**
* Start the timer. If the timer was already started, then this will
* restart the timer.
*/
void start() {
+ // TODO: We really use should clock_gettime() and the monotonic
+ // clock whenever possible, instead of gettimeofday()...
gettimeofday(&startTime, NULL);
}
/**
* Checks how much time has elapsed since the timer was last started.