DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Measuring Program Execution Time with Stopwatch(C++) - Stopwatch(C++)

Stopwatch Status

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

Next topic: Setting Operations
Previous topic: Constructors

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005