You can test whether a Stopwatch is running or not by calling its status() function. Since a newly-created Stopwatch is not running, the function will return zero:
Stopwatch w; w.running() returns zero