pprof

package
v1.11.50 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2019 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartCPUProfile

func StartCPUProfile(w io.Writer) error

func StopCPUProfile

func StopCPUProfile()

func WriteHeapProfile

func WriteHeapProfile(w io.Writer) error

Types

type Profile

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

func Lookup

func Lookup(name string) *Profile

func (*Profile) Add

func (p *Profile) Add(value interface{}, skip int)

func (*Profile) Count

func (p *Profile) Count() int

func (*Profile) Name

func (p *Profile) Name() string

func (*Profile) Remove

func (p *Profile) Remove(value interface{})

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