Skip to main content

INetworkStatistic

An interface in Root.Township, Alta.Utilities.Profiling.NetworkTransportMetrics.

A single network traffic counter that can be updated each frame and each second, reset, and summarised as text.

Methods​

MemberWhat it is
string GetSummary(float statisticDuration)Returns a one-line text summary, with rates worked out over the given duration in seconds.
void ResetStatisticTotals()Clears the running totals.
void UpdateValuePerFrame()Recalculates the per-frame value.
void UpdateValuePerLastSecond()Recalculates the value for the last second from the change since the previous call.