gotool

package
v0.0.50 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPUMemoryDataRow added in v0.0.48

type CPUMemoryDataRow struct {
	Path              string
	OrderTotalPercent string
	CPUInfo           map[string]interface{}
	MemoryInfo        map[string]interface{}
	ObjectsInfo       map[string]interface{}
	Data              []map[string]string
}

type GoTool

type GoTool struct {
}

func NewGoTool

func NewGoTool() *GoTool

type PprofFiles added in v0.0.48

type PprofFiles struct {
	CpuFile       string
	MemFile       string
	AllocsFile    string
	GoroutineFile string
	MutexFile     string
	BlockFile     string
}

func (*PprofFiles) IsExistsAllocsFile added in v0.0.48

func (s *PprofFiles) IsExistsAllocsFile() bool

func (*PprofFiles) IsExistsBlockFile added in v0.0.48

func (s *PprofFiles) IsExistsBlockFile() bool

func (*PprofFiles) IsExistsCpuFile added in v0.0.48

func (s *PprofFiles) IsExistsCpuFile() bool

func (*PprofFiles) IsExistsGoroutineFile added in v0.0.48

func (s *PprofFiles) IsExistsGoroutineFile() bool

func (*PprofFiles) IsExistsMemFile added in v0.0.48

func (s *PprofFiles) IsExistsMemFile() bool

func (*PprofFiles) IsExistsMutexFile added in v0.0.48

func (s *PprofFiles) IsExistsMutexFile() bool

type PprofServer added in v0.0.48

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

func NewPprofServer added in v0.0.48

func NewPprofServer(addr string, files *PprofFiles) (s *PprofServer, err error)

func (*PprofServer) Start added in v0.0.48

func (s *PprofServer) Start() (err error)

type TopItemListInfo added in v0.0.48

type TopItemListInfo struct {
	Total   string
	Percent string
	Data    gprofile.TopItemList
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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