RakNet::RakNetStatistics Struct Reference

Network Statisics Usage. More...

#include <RakNetStatistics.h>

List of all members.

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?


Detailed Description

Network Statisics Usage.

Store Statistics information related to network usage


Member Data Documentation

When did the connection start?

See also:
RakNet::GetTimeUS()

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

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


The documentation for this struct was generated from the following file:

Generated on Wed Feb 1 13:33:47 2012 for RakNet by  doxygen 1.5.7.1