I stumbled over the suggested solution to monitor the performance of the network and of the network elements when I reviewed a draft for IEEE1588 v2.1. This set of patches implements the collection and local storage of the data needed for this performance measurement according to Annex M in the draft.
Anders Selhammer (12): port: Fix coding style clock: Fix coding style pm: Added pm.h including struct for pm storage stats: Added copy and combine help funktions pm: Added pm.c including pm storage handling clock: Added pm collection for clock statistics port: Added pm collection for port statistics util: Move utility function set_tmo_lin from port to util clock: Added pm timer clock: Update pm recordlist port: Update pm recordlist Add a configuration file option to enable the Performance Monitoring clock.c | 173 +++++++++++++++++++++--- clock.h | 7 + config.c | 1 + default.cfg | 1 + gPTP.cfg | 1 + makefile | 2 +- pm.c | 414 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pm.h | 181 +++++++++++++++++++++++++ port.c | 160 +++++++++++++++++----- port.h | 38 ++++-- port_private.h | 5 + ptp4l.8 | 9 ++ stats.c | 19 +++ stats.h | 14 ++ util.c | 11 ++ util.h | 13 ++ 16 files changed, 983 insertions(+), 66 deletions(-) create mode 100644 pm.c create mode 100644 pm.h -- 1.8.3.1 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel