package profile
import "github.com/influxdata/influxdb/cmd/influx_tools/internal/profile"
Index ¶
Types ¶
type Config ¶
type Config struct { // CPU, if set, specifies the file name of the CPU profile to capture CPU string // Memory, if set, specifies the file name of the CPU profile to capture Memory string }
func (*Config) Start ¶
func (c *Config) Start() func()
Start starts a CPU and / or Memory profile if configured and returns a function that should be called to terminate the profiles.
Source Files ¶
- Version
- v1.12.0 (latest)
- Published
- Apr 8, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 2 days ago –
Tools for package owners.