timeutils

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: May 29, 2018 License: AGPL-3.0 Imports: 6 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 {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewStopwatch

func NewStopwatch(name string) *Stopwatch

func (*Stopwatch) Print

func (s *Stopwatch) Print()

func (*Stopwatch) PrintStages

func (s *Stopwatch) PrintStages()

func (*Stopwatch) TrackStage

func (s *Stopwatch) TrackStage(name string, f func())

Jump to

Keyboard shortcuts

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