Stats Files

Enhanced PTP User Guide (UG1602)

Document ID
UG1602
Release Date
2023-04-07
Revision
1.1 English

Each stats file contains accumulated data and statistics.

Note: The contents of this file depend on the current PTP mode and position of the clock in the PTP hierarchy. A stats file exists for each sync module and also for the server system clock.

The following table describes the values in a typical stats file:

Table 1. File: stats-<sync_module> or stats-<clock_UUID>
Name Description
offset-from-master (ns) Mean, min and max values are accumulated for these statistics. The number of samples taken during each period is recorded as is the start/end time of each sample period.
one-way-delay (ns)
freq-adjustment-ppb (ppb)
synchronized

The stats file retains accumulated counts of each PTP message type sent or received from the server.

The statistics file also records the number of PTP packets sent of received without being hardware timestamped.

The number of samples taken during each period is recorded, as is the start/end time of each sample period.

announce-pkts-txed
announce-pkts-rxed
announce-timeouts
sync-pkts-txed
sync-pkts-rxed
sync-pkt-timeouts
follow-up-pkts-txed
follow-up-pkts-rxed
follow-up-timeouts
delay-req-pkts-txed
delay-req-pkts-rxed
delay-resp-pkts-txed
delay-resp-pkts-rxed
delay-resp-timeouts
delay-mode-mismatch-errors
clock-steps
tx-pkt-no-timestamp
rx-pkt-no-timestamp
crx-pkt-no-timestamp Mean, minimum, maximum and standard deviation values are accumulated for these packets. The number of samples taken during each period is recorded, as is the start/end time of each sample period.