#include <stopwatch.h>
|
Construct a stopwatch initialized to t=0.
|
|
Construct a stopwatch initialized to the time t seconds.
|
|
|
|
Conversion to double gives the current time in second.
|
|
Assign a time of t seconds to the stopwatch.
|
|
Reset the stopwatch. If the stopwatch is running, it will continue running from t=0. |
|
Start a stopwatch, which is not running, from t=0.
|
|
True iff the stopwatch is running.
|
|
Start a stopwatch which is not already running. The stopwatch will continue from its current value. |
|
Stop a running stopwatch.
|