MCPcopy Index your code
hub / github.com/tailscale/tailscale / getMemStats

Function getMemStats

wgengine/netstack/netstack_test.go:100–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98}
99
100func getMemStats() (ms runtime.MemStats) {
101 runtime.GC()
102 runtime.ReadMemStats(&ms)
103 return
104}
105
106func makeNetstack(tb testing.TB, config func(*Impl)) *Impl {
107 tunDev := tstun.NewFake()

Callers 1

TestInjectInboundLeakFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…