Quote:
Originally Posted by WillNess
Questions: Do I need the .stop() and .reset() or just one? does the .reset() start the timer again?
|
The documentation isn't clear. Going back to
the source code, it appears that the timer carries the "accumulated time" from a stop to a start, so if you want to zero the result of later get()s, you must do a reset(). (I'm presuming that the C++ and Java versions behave equivalently.)