profile

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stopwatch

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

func NewStopwatch

func NewStopwatch(mode StopwatchMode) *Stopwatch

func (*Stopwatch) Dot

func (p *Stopwatch) Dot(name string)

func (*Stopwatch) GetDotDuration

func (p *Stopwatch) GetDotDuration(name string) time.Duration

func (*Stopwatch) Start

func (p *Stopwatch) Start()

type StopwatchMode

type StopwatchMode uint8
const (
	ModeNormal StopwatchMode = iota
	ModeAutoRestart
)

Jump to

Keyboard shortcuts

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