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

Method SetMutexProfileFraction

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

SetMutexProfileFraction enables/disables mutex profiling. Returns the previous fraction.

(rate int)

Source from the content-addressed store, hash-verified

354 // SetMutexProfileFraction enables/disables mutex profiling.
355 // Returns the previous fraction.
356 SetMutexProfileFraction(rate int) int
357}
358
359// defaultProfileCollector delegates to the real runtime/pprof and

Callers 2

debugCollectProfileMethod · 0.65

Implementers 2

noopProfileCollectorcoderd/debug_test.go

Calls

no outgoing calls

Tested by

no test coverage detected