Open 3D Engine AzNetworking API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
used to track general performance metrics for a given connection with respect to time. More...
#include <ConnectionMetrics.h>
Public Member Functions | |
ConnectionMetrics & | operator= (const ConnectionMetrics &rhs)=default |
void | Reset () |
Resets all internal metrics to defaults. | |
void | LogPacketSent (uint32_t byteCount, AZ::TimeMs currentTimeMs) |
void | LogPacketRecv (uint32_t byteCount, AZ::TimeMs currentTimeMs) |
void | LogPacketLost () |
void | LogPacketAcked () |
Public Attributes | |
uint32_t | m_packetsSent = 0 |
uint32_t | m_packetsRecv = 0 |
uint32_t | m_packetsLost = 0 |
uint32_t | m_packetsAcked = 0 |
DatarateMetrics | m_sendDatarate |
DatarateMetrics | m_recvDatarate |
ConnectionComputeRtt | m_connectionRtt |
used to track general performance metrics for a given connection with respect to time.