The ptp interface
ptp interface allows access to the Precision Time Protocol (PTP) Hardware Clock subsystem in the Linux kernel, enabling the clock to be synced to sub-100 nanoseconds.
This interface is primarily intended to be used with Ubuntu Core.
See sysfs-ptp for device sysfs location and configuration details.
The test code can be found in the snapd repository: https://github.com/snapcore/snapd/blob/master/interfaces/builtin/ptp_test.go
The source code for the interface is in the snapd repository: https://github.com/snapcore/snapd/blob/master/interfaces/builtin/ptp.go
Last updated 2 years ago.