debug

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryStats

type MemoryStats struct {
	HeapAlloc     uint64
	HeapSys       uint64
	HeapIdle      uint64
	HeapInuse     uint64
	StackInuse    uint64
	StackSys      uint64
	MSpanInuse    uint64
	MCacheInuse   uint64
	GCCPUFraction float64
	NumGC         uint32
	LastGC        time.Time
	PauseNs       []time.Duration
	NumGoroutines int
}

func CollectMemoryStats

func CollectMemoryStats() MemoryStats

type Profile

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

func Start

func Start(cpuPath, memPath string) (*Profile, error)

func (*Profile) Stop

func (p *Profile) Stop() error

Jump to

Keyboard shortcuts

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