Utility class for monitoring framerates and cpu usage ratios. More...
#include <Util/FpsTimer.H>
Classes | |
struct | State |
Public Member Functions | |
void | nextFrame () |
update frame count and times | |
rutz::time | getElapsedTime () const |
int | frameNumber () const |
double | getRecentFps () const |
double | getRecentCpuUsage () const |
double | getTotalFps () const |
double | getTotalCpuUsage () const |
State | getState () const |
Utility class for monitoring framerates and cpu usage ratios.
Definition at line 49 of file FpsTimer.H.
void FpsTimer::nextFrame | ( | ) |
update frame count and times
Definition at line 107 of file FpsTimer.H.
References rutz::time::wall_clock_now().