#include <Timer.h>
Inheritance diagram for OSCAR::Timer:

Public Methods | |
| Timer () | |
| virtual | ~Timer () |
| void | Start () |
| void | Stop () |
| double | ElapsedTime () const |
Private Attributes | |
| clock_t | start |
| clock_t | stop |
| bool | status |
|
|
Constructor. This is the constructor for an object of type Timer. Use this to construct an Timer object. This constructor also calls the constructor of Base. |
|
|
Virtual Destructor. This is the Destructor for an object of type Timer. |
|
|
Get the elapsed time between consecutive calls to Start() and Stop(). This method is used to get the elapsed time between consecutive calls to Start() and Stop().
|
|
|
Start the Timer. This method is used to start the timer. |
|
|
Stop the Timer. This method is used to stop the timer. |
|
|
|
|
|
|
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |