![]() |
flexPTP 1.0
An IEEE 1588 PTP implementation designed for microcontrollers
|
This is the statistics module that gathers data of the operating PTP-engine. More...
Go to the source code of this file.
Macros | |
#define | PTP_IS_LOCKED(th) ((ptp_get_stats()->filtTimeErr < (th)) && (ptp_get_current_master_clock_identity() != 0)) |
Is the PTP clock seemingly locked considering threshold passed? | |
Functions | |
void | ptp_clear_stats () |
const PtpStats * | ptp_get_stats () |
void | ptp_collect_stats (int64_t d) |
This is the statistics module that gathers data of the operating PTP-engine.
Definition in file stats.h.
#define PTP_IS_LOCKED | ( | th | ) | ((ptp_get_stats()->filtTimeErr < (th)) && (ptp_get_current_master_clock_identity() != 0)) |
void ptp_collect_stats | ( | int64_t | d | ) |