Documentation ¶
Index ¶
- func CPUProfile(ctx context.Context, sec int) ([]byte, map[string]string, error)
- func CPUProfileWithChannel(done chan bool) ([]byte, map[string]string, error)
- func Profile(profile string, debug, gc int) ([]byte, map[string]string, error)
- func SetMemProfileRate(rate int)
- func SetSetBlockProfileRate(rate int)
- func StartPProf(address string)
- func Trace(ctx context.Context, sec int) ([]byte, map[string]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CPUProfile ¶
CPUProfile generates a CPU Profile for a given duration
func CPUProfileWithChannel ¶
CPUProfile generates a CPU Profile for a given duration
func SetMemProfileRate ¶
func SetMemProfileRate(rate int)
func SetSetBlockProfileRate ¶
func SetSetBlockProfileRate(rate int)
func StartPProf ¶
func StartPProf(address string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.