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 NtpServerMeasurementProperties
| Name | Description |
|---|---|
| BestSample | Gets the sample with the shortest round-trip delay, whose offset is the most accurate. |
| Client | Gets the client that queried the server. |
| ClockOffset | Gets the clock offset of NtpServerMeasurement.BestSample. |
| Errors | Gets the errors of the queries that got no valid reply, such as TimeoutException. |
| Jitter | 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. |
| RootDistance | 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. |
| RoundTripDelay | Gets the round-trip delay of NtpServerMeasurement.BestSample. |
| Samples | Gets the valid replies of the server, in the order of the queries. |
| Server | Gets the host name or the IP address of the server. |
BestSample
NtpServerMeasurement.csGets the sample with the shortest round-trip delay, whose offset is the most accurate.
public NtpResponse BestSample { get; }Property value
Client
NtpServerMeasurement.csClockOffset
NtpServerMeasurement.csGets the clock offset of NtpServerMeasurement.BestSample.
public TimeSpan ClockOffset { get; }Property value
Errors
NtpServerMeasurement.csGets the errors of the queries that got no valid reply, such as TimeoutException.
public IReadOnlyList<Exception> Errors { get; }Property value
Jitter
NtpServerMeasurement.csGets 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
RootDistance
NtpServerMeasurement.csGets 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
RoundTripDelay
NtpServerMeasurement.csGets the round-trip delay of NtpServerMeasurement.BestSample.
public TimeSpan RoundTripDelay { get; }Property value
Samples
NtpServerMeasurement.csGets the valid replies of the server, in the order of the queries.
public IReadOnlyList<NtpResponse> Samples { get; }