#include <StopWatch.h>
It should be properly generalized and genericized later as well as be made platform-independent.
Definition at line 44 of file StopWatch.h.
Public Member Functions | |
| StopWatch () | |
| Constructs a new StopWatch, initializing start and stop times to zero. | |
| void | start () |
| Sets the start time to the current time. | |
| void | stop () |
| Sets the stop time to the current time. | |
| double | elapsed () |
| Returns the difference between the start and stop times in seconds. | |
|
|
Constructs a new StopWatch, initializing start and stop times to zero.
Definition at line 52 of file StopWatch.h. |
|
|
Returns the difference between the start and stop times in seconds.
Definition at line 83 of file StopWatch.h. |
|
|
Sets the start time to the current time.
Definition at line 57 of file StopWatch.h. |
|
|
Sets the stop time to the current time.
Definition at line 69 of file StopWatch.h. |