timer

package
v0.8.8 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Timer

type Timer struct {
	StageTimes     map[string]time.Time
	StageDurations map[string]time.Duration
	Total          int64
	// contains filtered or unexported fields
}

func NewTimer

func NewTimer() *Timer

func (*Timer) Mark

func (t *Timer) Mark(stage string)

func (*Timer) PrintJson

func (t *Timer) PrintJson()

func (*Timer) Stop

func (t *Timer) Stop()

Jump to

Keyboard shortcuts

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