Public Member Functions | |
virtual void | Reset ()=0 |
virtual void | Start ()=0 |
virtual void | Stop ()=0 |
virtual void | Advance ()=0 |
virtual int64_t | GetTimeMs ()=0 |
virtual int64_t | GetElapsedTimeMs ()=0 |
virtual bool | IsStopped ()=0 |
Static Public Member Functions | |
static PROUD_API CMilisecTimer * | New () |
It is a timer whose degree of precision is millisecond. Create by “CMilisecTimer::New” and delete by “delete”. QueryPerformanceCounter is internally used. No problem with precision but wrong calculation might occur depending on Windows version & CPU. Can use it up to 81706 after turning on the computer.
|
pure virtual |
Move the timer 0.1 second forward
|
pure virtual |
TODO:translate needed. Get the elapsed time from the previous GetElapsedTimeMs() call.
|
pure virtual |
Gets current time
|
pure virtual |
Returns true when timer is paused
|
static |
TODO:translate needed. Designate the type to generate the timer.
|
pure virtual |
Initialize the timer
|
pure virtual |
Start the timer
|
pure virtual |
Temporarily stop the timer.