Skip to main content

NetworkStatisticWithIncomingPackets

An abstract class in Root.Township, Alta.Utilities.Profiling.NetworkTransportMetrics.

Base for UNET transport statistics that also track incoming packets and incoming packets dropped, on top of the outgoing counters.

Constructors​

MemberWhat it is
protected NetworkStatisticWithIncomingPackets()Creates a NetworkStatisticWithIncomingPackets with default values.

Fields​

MemberWhat it is
protected NetworkTransportCountStatisticField incomingPacketCountTotalCounter of packets received.
protected NetworkTransportCountStatisticField incomingPacketsLostTotalCounter of incoming packets dropped because queues were full.

Methods​

MemberWhat it is
override string CreateSummaryDump(float statisticDuration)Adds the incoming packet and lost packet lines ahead of the base outgoing report.
override void ResetAll()Resets the outgoing counters and the two incoming counters.
protected override void UpdateTotalBytesPerLastSecondForExtraFields()Updates the last-second values of the two incoming counters.