#include <Timer.h>
Public Member Functions | |
| bool | Elapsed () const |
| long | ElapsedTime () const |
| void | Set (long timeout) |
| void | Set_And_Start (long timeout) |
| void | Start () |
| Timer () | |
| Timer (long timeout) | |
| void | WaitUntilElapsed () const |
Private Member Functions | |
| long | _ElapsedTime () const |
| Platform specific implementation of ElapsedTime(). More... | |
Private Attributes | |
| struct timeval | _ct |
| long | _timeout |
Provides a stop-watch-like class with a resolution of milliseconds.
|
private |
Platform specific implementation of ElapsedTime().
| bool KNI::Timer::Elapsed | ( | ) | const |
| long KNI::Timer::ElapsedTime | ( | ) | const |
| void KNI::Timer::WaitUntilElapsed | ( | ) | const |