In file ..\..\src\Pegasus\Common\StopWatch.h:

class PEGASUS_COMMON_LINKAGE Stopwatch

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

[more] Stopwatch ()
stopwatch constructor.
[more]void reset ()
Reset Stopwatch resets an existing Stopwatch object to the current time value
[more]double getElapsed () const
getElapsed - Get the elapsed time for the defined stopwatch.
[more]void printElapsed ()
printElapsed method gets the current value of the timer and sends it to standardout as a string with the word seconds attached

o Stopwatch()
stopwatch constructor. The constructor creates the object and starts the timer @example Stopwatch time;

ovoid reset()
Reset Stopwatch resets an existing Stopwatch object to the current time value

odouble getElapsed() const
getElapsed - Get the elapsed time for the defined stopwatch.
Returns:
Returns the elapsed time value as a double

ovoid 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