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

Method SetBlockProfileRate

coderd/debug.go:353–353  ·  view source on GitHub ↗

SetBlockProfileRate enables/disables block profiling.

(rate int)

Source from the content-addressed store, hash-verified

351 LookupProfile(name string, w io.Writer) error
352 // SetBlockProfileRate enables/disables block profiling.
353 SetBlockProfileRate(rate int)
354 // SetMutexProfileFraction enables/disables mutex profiling.
355 // Returns the previous fraction.
356 SetMutexProfileFraction(rate int) int

Callers 2

SetBlockProfileRateMethod · 0.65
debugCollectProfileMethod · 0.65

Implementers 2

noopProfileCollectorcoderd/debug_test.go

Calls

no outgoing calls

Tested by

no test coverage detected