![]() |
OGRE-Next 4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
All returned values are either in seconds or frames per second. More...
#include <OgreFrameStats.h>
Inheritance diagram for Ogre::FrameStats:Public Member Functions | |
| FrameStats () | |
| void | addSample (const uint64 timeUs) |
| Adds a new measured time, in microseconds | |
| double | getAllTimeAverage () const |
| Returns the average since the last reset(). | |
| double | getAllTimeAverageFps () const |
| Same as getAllTimeAverage(), but expressed as frames per second instead of seconds. | |
| double | getBestTime () const |
| Returns the best frame time in seconds since the last reset(). | |
| uint64 | getLastTimeRawMicroseconds () const |
| double | getLatestTimeSinceLast () const |
| Returns latest record of the time since last measurement. | |
| double | getLatestTimeSinceLastFps () const |
| Same as getLatestTimeSinceLast() but expressed as frames per second instead of seconds. | |
| double | getPercentile95th (bool bUseTime) const |
| Gets the 95th percentile, since the last reset(). | |
| double | getPercentile99th (bool bUseTime) const |
| Gets the 99th percentile, since the last reset. See getPercentile95th(). | |
| double | getPercentileNth (double percentile, bool bUseTime) const |
| Gets the desired percentile, since the last reset. | |
| double | getRollingAverage () const |
| Returns the rolling average. | |
| double | getRollingAverageFps () const |
| Same as getRollingAverage(), but expressed as frames per second instead of seconds. | |
| double | getWorstTime () const |
| Returns the worst frame time in seconds since the last reset(). | |
| OGRE_DEPRECATED_VER (4) double getLastTime() const | |
| OGRE_DEPRECATED_VER (4) float getAvgFps() const | |
| OGRE_DEPRECATED_VER (4) float getAvgTime() const | |
| OGRE_DEPRECATED_VER (4) float getFps() const | |
| void | reset (uint64 timeUs) |
All returned values are either in seconds or frames per second.
|
inline |
|
inline |
|
inline |