MCPcopy Create free account
hub / github.com/facebook/time / ReadSysoffExtendedRealTimeClock

Method ReadSysoffExtendedRealTimeClock

phc/device.go:70–72  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

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.
70func (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.

Callers 1

NewFunction · 0.80

Calls 1

Tested by

no test coverage detected