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
Click to show internal directories.
Click to hide internal directories.