Open 3D Engine AzNetworking API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzNetworking::ConnectionMetrics Struct Reference

used to track general performance metrics for a given connection with respect to time. More...

#include <ConnectionMetrics.h>

Public Member Functions

ConnectionMetricsoperator= (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
 

Detailed Description

used to track general performance metrics for a given connection with respect to time.


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