lap

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const MicroMultiplier = 1e6

Variables

This section is empty.

Functions

This section is empty.

Types

type Earn

type Earn struct {
	Elapse
	Estimates, Profits, Duration, Count atomic.Int64
}

func (*Earn) Average

func (earn *Earn) Average(i atomic.Int64) float64

func (*Earn) Mark

func (earn *Earn) Mark(e, p float64, elapse Elapse)

func (*Earn) Speak

func (earn *Earn) Speak()

type Elapse

type Elapse []int64

func NewElapse

func NewElapse() Elapse

func (Elapse) Gap

func (elapse Elapse) Gap() []float64

func (Elapse) PushNow

func (elapse Elapse) PushNow() Elapse

func (Elapse) RawGap

func (elapse Elapse) RawGap() Elapse

func (Elapse) Sum

func (elapse Elapse) Sum() int64

Jump to

Keyboard shortcuts

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