#include <FrameRateCounter.h>
Public Member Functions | |
FrameRateCounter (unsigned long queueLength=120) | |
virtual | ~FrameRateCounter () |
double | GetFrameRate () |
void | SetFrameRate (double frameRate) |
void | NewFrame () |
Protected Attributes | |
double | m_frameRate |
std::deque< double > | m_frameTime |
__int64 | m_frequency |
__int64 | m_prevTime |
FrameRateCounter | ( | unsigned long | queueLength = 120 | ) |
|
virtual |
double GetFrameRate | ( | ) |
void NewFrame | ( | ) |
void SetFrameRate | ( | double | frameRate | ) |
|
protected |
|
protected |
|
protected |
|
protected |