Documentation
¶
Overview ¶
profiling of your Go application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// CPUProfile is the name of cpu profile which controls if cpu profiling will be enabled.
// It defaults to false.
CPUProfile string
// MemProfile is the name of memory profile which controls if cpu profiling will be enabled.
// It defaults to false.
MemProfile string
// MemProfile is the name of memory profile which controls if cpu profiling will be enabled.
// It defaults to false.
BlockProfile string
// NoShutdownHook controls whether the profiling package should
// hook SIGINT to write profiles cleanly.
// Programs with more sophisticated signal handling should set
// this to true and ensure the Stop() function returned from Start()
// is called during shutdown.
NoShutdownHook bool
// contains filtered or unexported fields
}
Config controls the operation of the profile package.
Click to show internal directories.
Click to hide internal directories.