RakNet
4.0
|
Network Statisics Usage. More...
#include <RakNetStatistics.h>
Public Attributes | |
uint64_t | valueOverLastSecond [RNS_PER_SECOND_METRICS_COUNT] |
For each type in RNSPerSecondMetrics, what is the value over the last 1 second? | |
uint64_t | runningTotal [RNS_PER_SECOND_METRICS_COUNT] |
For each type in RNSPerSecondMetrics, what is the total value over the lifetime of the connection? | |
RakNet::TimeUS | connectionStartTime |
bool | isLimitedByCongestionControl |
uint64_t | BPSLimitByCongestionControl |
If isLimitedByCongestionControl is true, what is the limit, in bytes per second? | |
bool | isLimitedByOutgoingBandwidthLimit |
Is our current send rate throttled by a call to RakPeer::SetPerConnectionOutgoingBandwidthLimit()? | |
uint64_t | BPSLimitByOutgoingBandwidthLimit |
If isLimitedByOutgoingBandwidthLimit is true, what is the limit, in bytes per second? | |
unsigned int | messageInSendBuffer [NUMBER_OF_PRIORITIES] |
For each priority level, how many messages are waiting to be sent out? | |
double | bytesInSendBuffer [NUMBER_OF_PRIORITIES] |
For each priority level, how many bytes are waiting to be sent out? | |
unsigned int | messagesInResendBuffer |
uint64_t | bytesInResendBuffer |
How many bytes are waiting in the resend buffer. See also messagesInResendBuffer. | |
float | packetlossLastSecond |
Over the last second, what was our packetloss? This number will range from 0.0 (for none) to 1.0 (for 100%) | |
float | packetlossTotal |
What is the average total packetloss over the lifetime of the connection? | |
Network Statisics Usage.
Store Statistics information related to network usage
RakNet::TimeUS RakNet::RakNetStatistics::connectionStartTime |
When did the connection start?
bool RakNet::RakNetStatistics::isLimitedByCongestionControl |
Is our current send rate throttled by congestion control? This value should be true if you send more data per second than your bandwidth capacity
unsigned int RakNet::RakNetStatistics::messagesInResendBuffer |
How many messages are waiting in the resend buffer? This includes messages waiting for an ack, so should normally be a small value If the value is rising over time, you are exceeding the bandwidth capacity. See BPSLimitByCongestionControl