package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Packages

# Functions

NewCollector returns a new NewCollector.
ProfileHTTPHandler is same as pprof.Profile.
Register register a ProfileConsumer into the global CPU profiler.
StartCPUProfiler uses to start to run the global parallelCPUProfiler.
StopCPUProfiler uses to stop the global parallelCPUProfiler.
Unregister unregister a ProfileConsumer from the global CPU profiler.

# Variables

DefProfileDuration exports for testing.

# Structs

Collector is a cpu profile collector, it collect cpu profile data from globalCPUProfiler.
ProfileData contains the cpu profile data between the start and end time, usually the interval between start and end is about 1 second.