Client statistics interface.
#include <nrg_util.h>
Public Member Functions | |
virtual size_t | getNumSnapshotStats () const =0 |
Get the number of available snapshot statistics. | |
virtual int | getSnapshotStat (size_t index) const =0 |
Get a snapshot statistic which shows the latency at which snapshots were received, -1 means it was dropped. | |
virtual size_t | getNumInterpStats () const =0 |
Get the number of available interpolation statistics. | |
virtual float | getInterpStat (size_t index) const =0 |
Get a statistic showing how far between snapshots the client is interpolating, >1 means it is having to extrapolate data due to not receiving the next snapshot in time. | |
virtual uint8_t * | toRGBATexture (uint32_t(&tex)[64 *64]) const =0 |
Create a Lagometer texture from the stats. | |