perf

package
v0.0.0-...-177afef Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeMonitor

func ServeMonitor(addr string) error

Types

type Recorder

type Recorder struct {
	CpuUsage cpu.Usage
	MemUsage mem.Usage
	// contains filtered or unexported fields
}

func NewRecorder

func NewRecorder(name string) *Recorder

func (*Recorder) Begin

func (r *Recorder) Begin()

func (*Recorder) End

func (r *Recorder) End()

func (*Recorder) Report

func (r *Recorder) Report()

func (*Recorder) ReportString

func (r *Recorder) ReportString() string

func (*Recorder) Reset

func (r *Recorder) Reset()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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