meter
Package meter
import "github.com/luxfi/node/utils/math/meter"Types
ContinuousFactory
ContinuousFactory implements the Factory interface by returning a continuous time meter.
func (ContinuousFactory) New(halflife time.Duration) MeterFactory
Factory returns new meters.
Meter
Meter tracks a continuous exponential moving average of the % of time this meter has been running.
func NewMeter(halflife time.Duration) Meter