LunaSysMgr
|
#include <FpsHistory.h>
Public Member Functions | |
FpsHistory () | |
void | SetSamplePeriod (int PeriodMs) |
void | Reset (int NewSize) |
void | Dump () |
const FpsHistoryElem & | Flip () |
Public Member Functions inherited from CircularBuffer< FpsHistoryElem > | |
CircularBuffer () | |
CircularBuffer (int BufferSize) | |
~CircularBuffer () | |
void | Reset (int BufferSize=0) |
void | AddSample (const FpsHistoryElem &Item, long long int Time) |
const FpsHistoryElem & | LastSample () |
Protected Attributes | |
int | SamplePeriodMs |
int | FrameCount |
int | LastSampleMs |
Protected Attributes inherited from CircularBuffer< FpsHistoryElem > | |
Sample * | Buffer |
int * | TimeStamp |
int | BufferSize |
int | SampleCount |
int | CurrentIndex |
|
inline |
void FpsHistory::Dump | ( | ) |
const FpsHistoryElem& FpsHistory::Flip | ( | ) |
void FpsHistory::Reset | ( | int | NewSize | ) |
NewSize | Size of the buffer (0 to use current size) |
|
inline |
|
protected |
|
protected |
|
protected |