MCPcopy Index your code
hub / github.com/coder/coder / Go

Function Go

coderd/pproflabel/pproflabel.go:9–11  ·  view source on GitHub ↗

Go is just a convince wrapper to set off a labeled goroutine.

(ctx context.Context, labels pprof.LabelSet, f func(context.Context))

Source from the content-addressed store, hash-verified

7
8// Go is just a convince wrapper to set off a labeled goroutine.
9func Go(ctx context.Context, labels pprof.LabelSet, f func(context.Context)) {
10 go pprof.Do(ctx, labels, f)
11}
12
13func Do(ctx context.Context, labels pprof.LabelSet, f func(context.Context)) {
14 pprof.Do(ctx, labels, f)

Callers 11

RunMethod · 0.92
RunMethod · 0.92
RunMethod · 0.92
RunMethod · 0.92
NewFunction · 0.92
newProvisionerDaemonFunction · 0.92
updateEntitlementsMethod · 0.92
StartMethod · 0.92
StartMethod · 0.92
NewFunction · 0.92
startAPIServerMethod · 0.92

Calls 1

DoMethod · 0.65

Tested by

no test coverage detected