timer

package
v1.31.22 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryTimer added in v1.29.1

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

func NewMemoryTimer added in v1.29.1

func NewMemoryTimer() MemoryTimer

func (*MemoryTimer) End added in v1.29.1

func (m *MemoryTimer) End() string

type Timer

type Timer struct {
	Start, End time.Time
}

func NewTimer

func NewTimer() Timer

func (Timer) Elapsed

func (t Timer) Elapsed() float64

func (Timer) Millis

func (t Timer) Millis() int64

func (*Timer) Stop

func (t *Timer) Stop()

func (Timer) String

func (t Timer) String() string

Jump to

Keyboard shortcuts

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