pprof

package
v0.31.2 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnimplemented = errors.New("runtime/pprof: unimplemented")

Functions

func StartCPUProfile

func StartCPUProfile(w io.Writer) error

func StopCPUProfile

func StopCPUProfile()

func WriteHeapProfile added in v0.26.0

func WriteHeapProfile(w io.Writer) error

Types

type Profile

type Profile struct{}

func Lookup

func Lookup(name string) *Profile

func Profiles added in v0.26.0

func Profiles() []*Profile

func (*Profile) Count added in v0.26.0

func (p *Profile) Count() int

func (*Profile) Name added in v0.26.0

func (p *Profile) Name() string

func (*Profile) WriteTo

func (p *Profile) WriteTo(w io.Writer, debug int) error

Jump to

Keyboard shortcuts

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