Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
142
func
(w *countWriter) Stats() (writes int, bytes int64) {
143
w.mu.Lock()
144
defer
w.mu.Unlock()
145
return
w.writes, w.bytes
146
}
147
148
func
(w *countWriter) ResetStats() {
149
w.mu.Lock()
Callers
4
init
Function · 0.80
ExpVar
Method · 0.80
ethtoolImpl
Function · 0.80
TestClientSendRateLimiting
Function · 0.80
Calls
2
Lock
Method · 0.65
Unlock
Method · 0.65
Tested by
no test coverage detected