Calculates the current packet loss along with a rolling average of the past X updates Constructed with the number of samples you want to average over time.
更多...
#include <NetAnalyticsTypes.h>
|
|
float | GetAvgLossPercentage () const |
| | The average loss percentage over the previous X StatPeriods
|
| |
|
float | GetLossPercentage () const |
| | The loss percentage over the last StatPeriod
|
| |
|
void | UpdateLoss (int32 NbPacketsLost, int32 TotalPackets, int32 SampleCount) |
| | Update the packet loss based on total and lost packets
|
| |
template<uint32 NbPeriodsForAverage>
struct TPacketLossData< NbPeriodsForAverage >
Calculates the current packet loss along with a rolling average of the past X updates Constructed with the number of samples you want to average over time.
该结构体的文档由以下文件生成: