Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CPUProfileInterval = 30 * time.Second
CPUProfileInterval represents the duration of sampling CPU
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct{}
Collector is used to collect the profile results
func (*Collector) ParseGoroutines ¶
ParseGoroutines returns the groutine list for given string representation
func (*Collector) ProfileGraph ¶
ProfileGraph returns the CPU/memory/mutex/allocs/block profile flamegraph which is organized by tree form
Click to show internal directories.
Click to hide internal directories.