NtpServerMeasurement Class

The result of several queries to one NTP server, filtered as the clock filter of RFC 5905 (section 10) does: the sample with the shortest round-trip delay is the most accurate one.

public sealed class NtpServerMeasurement

Properties

NameDescription
BestSampleGets the sample with the shortest round-trip delay, whose offset is the most accurate.
ClientGets the client that queried the server.
ClockOffsetGets the clock offset of NtpServerMeasurement.BestSample.
ErrorsGets the errors of the queries that got no valid reply, such as TimeoutException.
JitterGets the jitter: the root mean square of the differences between the offsets of the samples and the offset of NtpServerMeasurement.BestSample. It is zero for a single sample.
RootDistanceGets the root distance: the maximum error of NtpServerMeasurement.ClockOffset as RFC 5905 estimates it, from the round-trip delays to the server and to its reference clock, the dispersion and the precision the server reports, and NtpServerMeasurement.Jitter.
RoundTripDelayGets the round-trip delay of NtpServerMeasurement.BestSample.
SamplesGets the valid replies of the server, in the order of the queries.
ServerGets the host name or the IP address of the server.

Gets the sample with the shortest round-trip delay, whose offset is the most accurate.

public NtpResponse BestSample { get; }

Property value

NtpResponse

Gets the client that queried the server.

public NtpClient Client { get; }

Property value

NtpClient

Gets the clock offset of NtpServerMeasurement.BestSample.

public TimeSpan ClockOffset { get; }

Property value

TimeSpan

Gets the errors of the queries that got no valid reply, such as TimeoutException.

public IReadOnlyList<Exception> Errors { get; }

Gets the jitter: the root mean square of the differences between the offsets of the samples and the offset of NtpServerMeasurement.BestSample. It is zero for a single sample.

public TimeSpan Jitter { get; }

Property value

TimeSpan

Gets the root distance: the maximum error of NtpServerMeasurement.ClockOffset as RFC 5905 estimates it, from the round-trip delays to the server and to its reference clock, the dispersion and the precision the server reports, and NtpServerMeasurement.Jitter.

public TimeSpan RootDistance { get; }

Property value

TimeSpan

Gets the round-trip delay of NtpServerMeasurement.BestSample.

public TimeSpan RoundTripDelay { get; }

Property value

TimeSpan

Gets the valid replies of the server, in the order of the queries.

public IReadOnlyList<NtpResponse> Samples { get; }

Gets the host name or the IP address of the server.

public string Server { get; }

Property value

string