ReadSysoffExtendedRealTimeClock1 reads the precise time from the PHC along with REAL_TIME_CLOCK SYS time to measure the call delay. The samples parameter is set to 1.
()
| 74 | // ReadSysoffExtendedRealTimeClock1 reads the precise time from the PHC along with REAL_TIME_CLOCK SYS time to measure the call delay. |
| 75 | // The samples parameter is set to 1. |
| 76 | func (dev *Device) ReadSysoffExtendedRealTimeClock1() (*PTPSysOffsetExtended, error) { |
| 77 | return dev.readSysoffExtendedClockID(1, unix.CLOCK_REALTIME) |
| 78 | } |
| 79 | |
| 80 | // ReadSysoffPrecise reads the precise time from the PHC along with SYS time to measure the call delay. |
| 81 | func (dev *Device) ReadSysoffPrecise() (*PTPSysOffsetPrecise, error) { |
no test coverage detected