NvStopWatch Class Reference
Cross-platform wall-clock timer. More...
#include <NvStopWatch.h>
Public Member Functions | |
NvStopWatch () | |
Constructor, default. | |
virtual | ~NvStopWatch () |
Destructor. | |
virtual void | start ()=0 |
Starts time measurement. | |
virtual void | stop ()=0 |
Stop time measurement. | |
virtual void | reset ()=0 |
Reset time counters to zero. | |
bool | isRunning () |
Test whether the timer is running. | |
virtual const float | getTime () const =0 |
Get elapsed time Time in seconds after start. | |
Protected Attributes | |
bool | m_running |
Detailed Description
Cross-platform wall-clock timer.Timer including multiple start-stop support Abstract base class. The application framework must provide an implementation and a method of creating instances
Member Function Documentation
virtual const float NvStopWatch::getTime | ( | ) | const [pure virtual] |
bool NvStopWatch::isRunning | ( | ) | [inline] |
The documentation for this class was generated from the following file: