MCPcopy Create free account
hub / github.com/pkg/profile / BlockProfile

Function BlockProfile

profile.go:114–114  ·  view source on GitHub ↗

BlockProfile enables block (contention) profiling. It disables any previous profiling settings.

(p *Profile)

Source from the content-addressed store, hash-verified

112// BlockProfile enables block (contention) profiling.
113// It disables any previous profiling settings.
114func BlockProfile(p *Profile) { p.mode = blockMode }
115
116// Trace profile enables execution tracing.
117// It disables any previous profiling settings.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…