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

Interface ServoController

phc/pps_source.go:69–72  ·  view source on GitHub ↗

ServoController abstracts away servo

Source from the content-addressed store, hash-verified

67
68// ServoController abstracts away servo
69type ServoController interface {
70 Sample(offset int64, localTs uint64) (float64, servo.State)
71 Unlock()
72}
73
74// Timestamper represents a device that can return a Timestamp
75type Timestamper interface {

Callers 15

PPSClockSyncFunction · 0.65
scanForBannerFunction · 0.65
PPSClockSyncFunction · 0.65
lineMethod · 0.65

Implementers 3

MockServoControllerphc/pps_mock_test.go
PiServoservo/pi.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…