pprof

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package pprof adds profiling support to the Elvish program.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Program

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

Program adds support for the -cpuprofile flag.

func (*Program) Cleanup added in v0.19.0

func (p *Program) Cleanup()

func (*Program) RegisterFlags

func (p *Program) RegisterFlags(f *prog.FlagSet)

func (*Program) Run

func (p *Program) Run(fds [3]*os.File, _ []string) error

Jump to

Keyboard shortcuts

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