profile

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Profile

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

func NewProfile

func NewProfile(ctx context.Context, cpufileName string, memFileName string) (*Profile, error)

func (*Profile) Close

func (p *Profile) Close() error

func (*Profile) StartCPUProfile

func (p *Profile) StartCPUProfile() error

func (*Profile) StopCPUProfile

func (p *Profile) StopCPUProfile()

func (*Profile) WriteHeapProfile

func (p *Profile) WriteHeapProfile() error

Jump to

Keyboard shortcuts

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