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

Function ClockProfile

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

ClockProfile enables wall clock (fgprof) profiling. It disables any previous profiling settings.

(p *Profile)

Source from the content-addressed store, hash-verified

128// ClockProfile enables wall clock (fgprof) profiling.
129// It disables any previous profiling settings.
130func ClockProfile(p *Profile) { p.mode = clockMode }
131
132// ProfilePath controls the base path where various profiling
133// files are written. If blank, the base path will be generated

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…