Create a new stopwatch and starts it. If no time_type is given the stopwatch will count the user time, otherwise if SYSTEM_TIME is specified, the stopwatch will count absolute time. When created the stopwatch is up and runnig.
Member Function Documentation
Start the stopwatch. If the stopwatch is already running, then calling this function has no effect. If the stopwatch is in pause, then calling this function will make it count time again.
Return the time elapsed till now. The value returned is in seconds. The stopwatch will continue counting
Put the stopwatch in pause: the time is no more counted. A second calling of this function will be ignored. The value of the time (in seconds) elapsed till now is returned. To restart the stopwatch use start().
The documentation for this class was generated from the following file: