OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Stats Namespace Reference

Functions

void StartFrame ()
 
void EndFrame ()
 
float GetFPS ()
 
float GetAverageFrameTime ()
 
void Clear ()
 

Variables

timespec endFrame
 
timespec startFrame
 
uint32_t nbFrame = 0
 
uint32_t totalNbFrame
 
double TotalFrameTime = 0
 

Function Documentation

void Stats::Clear ( )
inline

Definition at line 59 of file Utils.h.

void Stats::EndFrame ( )
inline

Definition at line 37 of file Utils.h.

float Stats::GetAverageFrameTime ( )
inline

Definition at line 54 of file Utils.h.

float Stats::GetFPS ( )
inline

Definition at line 49 of file Utils.h.

void Stats::StartFrame ( )
inline

Definition at line 32 of file Utils.h.

Variable Documentation

timespec Stats::endFrame

Definition at line 26 of file Utils.h.

uint32_t Stats::nbFrame = 0

Definition at line 28 of file Utils.h.

timespec Stats::startFrame

Definition at line 27 of file Utils.h.

double Stats::TotalFrameTime = 0

Definition at line 30 of file Utils.h.

uint32_t Stats::totalNbFrame

Definition at line 29 of file Utils.h.