Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

Socket Performance Info

Cory Thomas edited this page Mar 25, 2015 · 1 revision

Getting performance metrics from a socket is pretty straight forward.

Udt.TraceInfo perf = socket.GetPerformanceInfo();

There are three classes of performance metrics: Total, Local, and Probe. Total metrics are aggregate values calculated since the socket was created. Local metrics are aggregate values calculated since they were recorded. Local metrics can be reset by passing true to GetPerformanceInfo(bool). The local values are then reset for the next call to GetPerformanceInfo. Probe values are instant values collected at the time that GetPerformanceInfo is called.

Clone this wiki locally