Documentation ¶
Index ¶
Constants ¶
View Source
const EstimatorRange int = 3
Variables ¶
This section is empty.
Functions ¶
func MovingExpAvg ¶
Types ¶
type Estimator ¶
type Estimator struct { sync.Mutex RS map[int]*RequestStat }
func NewEstimator ¶
func NewEstimator() *Estimator
func (*Estimator) MarshalJSON ¶
func (*Estimator) PushNolock ¶
type RequestStat ¶
func NewRequestStat ¶
func NewRequestStat() *RequestStat
func (*RequestStat) Copy ¶
func (r *RequestStat) Copy(start int)
Click to show internal directories.
Click to hide internal directories.