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

Method Sub

phc/offset.go:155–157  ·  view source on GitHub ↗

Sub returns the estimated difference between two PHC SYS_OFFSET_EXTENDED readings

(a *PTPSysOffsetExtended)

Source from the content-addressed store, hash-verified

153 }
154 return SysoffFromPrecise(precise), nil
155 case MethodIoctlSysOffsetPreciseRealTimeClock:
156 precise, err := dev.ReadSysoffPrecise()
157 if err != nil {
158 return SysoffResult{}, err
159 }
160 return SysRToffFromPrecise(precise), nil

Callers 1

Calls 1

Tested by 1