Timer for accumulating 10 ms intervals that does not overflow after ~30 min
This class simply creates a timer that accumulates 10 millisecond intervals which does not overflow after about 30 min.
Diff: RunTimer.cpp
- Revision:
- 1:134292d456c9
- Parent:
- 0:21dc6ad1a795
- Child:
- 2:67e16d628edc
diff -r 21dc6ad1a795 -r 134292d456c9 RunTimer.cpp --- a/RunTimer.cpp Thu May 19 13:37:02 2016 +0000 +++ b/RunTimer.cpp Thu May 19 13:39:12 2016 +0000 @@ -31,9 +31,9 @@ }//timeAcc void RunTimer::Reset(void){ - this->T_ms=0; - this->T_sec =0; - this->T_min = 0; - this->T_hour = 0; - this->T_days = 0; + this->ms=0; + this->sec =0; + this->min = 0; + this->hour = 0; + this->days = 0; } \ No newline at end of file