ReadSysoffExtendedRealTimeClock reads the precise time from the PHC along with REAL_TIME_CLOCK SYS time to measure the call delay. The nsamples parameter is set to ExtendedNumProbes.
()
| 68 | // ReadSysoffExtendedRealTimeClock reads the precise time from the PHC along with REAL_TIME_CLOCK SYS time to measure the call delay. |
| 69 | // The nsamples parameter is set to ExtendedNumProbes. |
| 70 | func (dev *Device) ReadSysoffExtendedRealTimeClock() (*PTPSysOffsetExtended, error) { |
| 71 | return dev.readSysoffExtendedClockID(ExtendedNumProbes, unix.CLOCK_REALTIME) |
| 72 | } |
| 73 | |
| 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. |
no test coverage detected