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

Method ReadSysoffPrecise

phc/device.go:81–83  ·  view source on GitHub ↗

ReadSysoffPrecise reads the precise time from the PHC along with SYS time to measure the call delay.

()

Source from the content-addressed store, hash-verified

79
80// ReadSysoffPrecise reads the precise time from the PHC along with SYS time to measure the call delay.
81func (dev *Device) ReadSysoffPrecise() (*PTPSysOffsetPrecise, error) {
82 return dev.readSysoffPrecise()
83}
84
85func (dev *Device) readSysoffExtended(samples uint) (*PTPSysOffsetExtended, error) {
86 if isClockMonoRawSupported {

Callers 5

TimeAndOffsetFromDeviceFunction · 0.80
OffsetBetweenDevicesFunction · 0.80
TimeFunction · 0.80
phcdiffRunFunction · 0.80
phc2phcRunFunction · 0.80

Calls 1

readSysoffPreciseMethod · 0.95

Tested by

no test coverage detected