#include <StopWatchPack_stopwatch.hpp>
Public Member Functions | |
| stopwatch () | |
| Initializes of not running. | |
| bool | is_running () const |
Returns true if this is currently timming. | |
| void | start () |
| Starts timing if it has already not been started. | |
| double | stop () |
| Stops timing and returns the time (sec.) since start() was called. | |
| void | reset () |
| Stops and resets the clock if it is running. | |
| double | read () |
| Reads the elapsed time (sec.) and leaves the clock running. | |
Definition at line 46 of file StopWatchPack_stopwatch.hpp.
|
|
Initializes of not running.
Definition at line 50 of file StopWatchPack_stopwatch.hpp. |
|
|
Returns true if
Definition at line 54 of file StopWatchPack_stopwatch.hpp. |
|
|
Starts timing if it has already not been started.
Definition at line 59 of file StopWatchPack_stopwatch.hpp. |
|
|
Stops timing and returns the time (sec.) since start() was called.
Definition at line 67 of file StopWatchPack_stopwatch.hpp. |
|
|
Stops and resets the clock if it is running.
Definition at line 77 of file StopWatchPack_stopwatch.hpp. |
|
|
Reads the elapsed time (sec.) and leaves the clock running.
Definition at line 84 of file StopWatchPack_stopwatch.hpp. |
1.3.9.1