stats

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 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 DataPoints

type DataPoints struct {
	stats.Float64Data
	// contains filtered or unexported fields
}

func Default

func Default() *DataPoints

func New

func New(halfLife time.Duration) *DataPoints

func NoDecay

func NoDecay() *DataPoints

func (*DataPoints) Average

func (a *DataPoints) Average() float64

func (*DataPoints) P90

func (a *DataPoints) P90() float64

func (*DataPoints) Recompute

func (a *DataPoints) Recompute()

func (*DataPoints) Track

func (a *DataPoints) Track(p float64)

type Float64Data

type Float64Data = stats.Float64Data

Jump to

Keyboard shortcuts

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