heap

package
v0.0.0-...-cf91c28 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2019 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Heap

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

Heap collector.

func New

func New(contains string) *Heap

New heap collector.

func (*Heap) Collect

func (h *Heap) Collect(exit <-chan struct{}) (map[objfile.Location]float64, error)

Collect data.

type NoHeapProfileError

type NoHeapProfileError struct{}

NoHeapProfileError when there's no heap profile.

func (NoHeapProfileError) Error

func (e NoHeapProfileError) Error() string

Error string.

type NoLocationError

type NoLocationError struct{}

NoLocationError when no location can be found.

func (NoLocationError) Error

func (e NoLocationError) Error() string

Error string.

Jump to

Keyboard shortcuts

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