MCPcopy
hub / github.com/tailscale/tailscale / Stats

Method Stats

derp/client_test.go:142–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140}
141
142func (w *countWriter) Stats() (writes int, bytes int64) {
143 w.mu.Lock()
144 defer w.mu.Unlock()
145 return w.writes, w.bytes
146}
147
148func (w *countWriter) ResetStats() {
149 w.mu.Lock()

Callers 4

initFunction · 0.80
ExpVarMethod · 0.80
ethtoolImplFunction · 0.80

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected