MCPcopy Create free account
hub / github.com/brimdata/super / runCPUProfile

Method runCPUProfile

cli/cli.go:107–114  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

105}
106
107func (f *Flags) runCPUProfile(path string) {
108 file, err := os.Create(path)
109 if err != nil {
110 log.Fatal(err)
111 }
112 f.cpuProfileFile = file
113 pprof.StartCPUProfile(file)
114}
115
116func runMemProfile(path string) {
117 f, err := os.Create(path)

Callers 1

InitWithSignalsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected