profiler

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultEnclavePort = 6060
	DefaultHostPort    = 6061
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Profiler

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

Profiler stores the data relevant to the profiler instance

func NewProfiler

func NewProfiler(port int, logger gethlog.Logger) *Profiler

NewProfiler returns a new profiler that binds on 0.0.0.0:port

func (*Profiler) Start

func (p *Profiler) Start() error

Start starts the profiler

func (*Profiler) Stop

func (p *Profiler) Stop() error

Stop stops the profiler

Jump to

Keyboard shortcuts

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