profile

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2018 License: MIT Imports: 5 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
}

Profile manages a CPU and heap profile.

func New

func New(name string) (*Profile, error)

New creates a new profile instance. The profiling begins immediately.

func (*Profile) Finalize

func (p *Profile) Finalize() error

Finalize terminates a profile and writes its measurements to disk in the current working directory.

Jump to

Keyboard shortcuts

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