pprof

package
v0.0.0-...-6fb55b7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProfileSession

type ProfileSession struct {
	// contains filtered or unexported fields
}

func BeginProfiling

func BeginProfiling(profileDir string, logWriter io.Writer) *ProfileSession

BeginProfiling starts CPU and memory profiling, writing the profiles to the specified directory.

func (*ProfileSession) Stop

func (p *ProfileSession) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL