#include <FrameMetrics.h>
Definition at line 35 of file FrameMetrics.h.
◆ FrameMetrics()
| FrameMetrics::FrameMetrics |
( |
| ) |
|
◆ ~FrameMetrics()
| FrameMetrics::~FrameMetrics |
( |
| ) |
|
|
virtual |
◆ addCushion()
| void FrameMetrics::addCushion |
( |
Int | cushion | ) |
|
◆ doPerFrameMetrics()
| void FrameMetrics::doPerFrameMetrics |
( |
UnsignedInt | frame | ) |
|
◆ getAverageFPS()
| Int FrameMetrics::getAverageFPS |
( |
| ) |
|
◆ getAverageLatency()
| Real FrameMetrics::getAverageLatency |
( |
| ) |
|
◆ getMinimumCushion()
| Int FrameMetrics::getMinimumCushion |
( |
| ) |
|
◆ init()
| void FrameMetrics::init |
( |
| ) |
|
◆ processLatencyResponse()
| void FrameMetrics::processLatencyResponse |
( |
UnsignedInt | frame | ) |
|
◆ reset()
| void FrameMetrics::reset |
( |
| ) |
|
◆ m_averageFps
| Real FrameMetrics::m_averageFps |
|
protected |
The current average logic fps, computed just like m_averageLatency below but with the fps numbers.
Definition at line 57 of file FrameMetrics.h.
◆ m_averageLatency
| Real FrameMetrics::m_averageLatency |
|
protected |
The current average latency, this is used to save calculation time. When a new latency value is received, the old one is subtracted out and the new one is added in.
Definition at line 64 of file FrameMetrics.h.
◆ m_cushionIndex
The next index to use for the cushion list.
Definition at line 70 of file FrameMetrics.h.
◆ m_fpsList
| Real* FrameMetrics::m_fpsList |
|
protected |
A record of how many game logic frames per second there were for the last 60 seconds.
Definition at line 54 of file FrameMetrics.h.
◆ m_fpsListIndex
| Int FrameMetrics::m_fpsListIndex |
|
protected |
Index into the array of the current fps list entry being measured.
Definition at line 56 of file FrameMetrics.h.
◆ m_lastFpsTimeThing
| time_t FrameMetrics::m_lastFpsTimeThing |
|
protected |
The time when the last fps entry started being recorded.
Definition at line 55 of file FrameMetrics.h.
◆ m_latencyList
| Real* FrameMetrics::m_latencyList |
|
protected |
A record of the round trip latencies of the frame info packets to the packet router. Values in seconds.
Definition at line 62 of file FrameMetrics.h.
◆ m_minimumCushion
| Int FrameMetrics::m_minimumCushion |
|
protected |
The average cushion for the history.
Definition at line 71 of file FrameMetrics.h.
◆ m_pendingLatencies
| time_t* FrameMetrics::m_pendingLatencies |
|
protected |
The latencies of frame info packets that are "in the air.".
Definition at line 63 of file FrameMetrics.h.
The documentation for this class was generated from the following files: