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

Function IoctlPtpSysOffsetExtended

phc/unix/linux.go:98–100  ·  view source on GitHub ↗

IoctlPtpSysOffsetExtended returns an extended description of the clock offset.

(fd int, samples uint)

Source from the content-addressed store, hash-verified

96
97// IoctlPtpSysOffsetExtended returns an extended description of the clock offset.
98func IoctlPtpSysOffsetExtended(fd int, samples uint) (*PtpSysOffsetExtended, error) {
99 return IoctlPtpSysOffsetExtendedClock(fd, unix.CLOCK_REALTIME, samples)
100}
101
102// IoctlPtpSysOffsetExtendedClock returns an extended description of the clock offset.
103func IoctlPtpSysOffsetExtendedClock(fd int, clockid uint32, samples uint) (*PtpSysOffsetExtended, error) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…