gg_stopwatch

package
v0.2.37 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: BSD-3-Clause Imports: 2 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 {
	Elapsed time.Duration // int64 nanoseconds
	// contains filtered or unexported fields
}

func New

func New() *StopWatch

func (*StopWatch) IsRunning

func (watch *StopWatch) IsRunning() bool

func (*StopWatch) Milliseconds

func (watch *StopWatch) Milliseconds() int

func (*StopWatch) Seconds

func (watch *StopWatch) Seconds() float32

func (*StopWatch) Start

func (watch *StopWatch) Start() *StopWatch

func (*StopWatch) Stop

func (watch *StopWatch) Stop()

type StopWatchHelper

type StopWatchHelper struct {
}
var Watch *StopWatchHelper

func (*StopWatchHelper) New

func (i *StopWatchHelper) New() *StopWatch

Jump to

Keyboard shortcuts

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