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

Method pushDataPoint

fbclock/daemon/state.go:72–77  ·  view source on GitHub ↗
(data *DataPoint)

Source from the content-addressed store, hash-verified

70 for range coefPPBRingSize {
71 s.coefPPBs.Value = nil
72 s.coefPPBs = s.coefPPBs.Next()
73 }
74 return s
75}
76
77func (s *daemonState) pushDataPoint(data *DataPoint) {
78 s.Lock()
79 defer s.Unlock()
80 s.DataPoints.Value = data

Calls 1

UnlockMethod · 0.65