|
In file ..\..\src\Pegasus\Common\StopWatch.h:
Stopwatch - A class for measuring elapsed time Stopwatch is a class for measuring time intervals within the environment.
Documentation
Stopwatch - A class for measuring elapsed time
Stopwatch is a class for measuring time intervals within the environment.
It is intended to be a developers tool primarily.
Inheritance:
Public Methods
| Stopwatch ()
stopwatch constructor.
|
void | reset ()
Reset Stopwatch resets an existing Stopwatch object to the current time value
|
double | getElapsed () const
getElapsed - Get the elapsed time for the defined stopwatch.
|
void | printElapsed ()
printElapsed method gets the current value of the timer and sends it to standardout as a string with the word seconds attached
|
- Stopwatch()
- stopwatch constructor. The constructor creates the object and
starts the timer
@example Stopwatch time;
- void reset()
- Reset Stopwatch resets an existing Stopwatch object to the
current time value
- double getElapsed() const
- getElapsed - Get the elapsed time for the defined stopwatch.
- Returns:
- Returns the elapsed time value as a double
- void printElapsed()
- printElapsed method gets the current value of the timer and
sends it to standardout as a string with the word seconds attached
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
|