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

Struct defaultProfileCollector

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

defaultProfileCollector delegates to the real runtime/pprof and runtime/trace packages.

Source from the content-addressed store, hash-verified

359// defaultProfileCollector delegates to the real runtime/pprof and
360// runtime/trace packages.
361type defaultProfileCollector struct{}
362
363func (defaultProfileCollector) StartCPUProfile(w io.Writer) (func(), error) {
364 if err := pprof.StartCPUProfile(w); err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected