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

Method Step

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

Step steps the PHC clock by given duration

(step time.Duration)

Source from the content-addressed store, hash-verified

161
162// Step steps the PHC clock by given duration
163func (dev *Device) Step(step time.Duration) error { return clockStep(dev, step) }
164
165// SetTime sets the time of the PHC clock
166func (dev *Device) SetTime(t time.Time) error { return clockSetTime(dev, t) }

Callers

nothing calls this directly

Calls 1

clockStepFunction · 0.85

Tested by

no test coverage detected