Lines Matching defs:profile
3 package profile package
22 type profile struct { struct
24 quiet bool
28 noShutdownHook bool
31 mode int
35 path string
38 memProfileRate int
41 closer func()
44 stopped uint32
52 func NoShutdownHook(p *profile) { p.noShutdownHook = true }
55 func Quiet(p *profile) { p.quiet = true }
58 func CPUProfile(p *profile) { p.mode = cpuMode }
65 func MemProfile(p *profile) {
80 func BlockProfile(p *profile) { p.mode = blockMode }
92 func (p *profile) Stop() {
107 func Start(options ...func(*profile)) interface {