Click
Loading...
Searching...
No Matches
Classes | Typedefs
ewma.hh File Reference

Click's classes for supporting exponentially weighted moving averages. More...

#include <click/glue.hh>
#include <click/confparse.hh>

Go to the source code of this file.

Classes

class  DirectEWMAX< P >
 An exponentially weighted moving average. More...
 
class  FixedEWMAXParameters< STABILITY, SCALE, T, U >
 Parameters for a EWMA with constant scaling factor and stability shift. More...
 
class  StabilityEWMAXParameters< SCALE, T, U >
 Parameters for a EWMA with constant scaling factor and user-settable alpha. More...
 
class  RateEWMAX< P >
 An exponentially weighted moving average used to measure a rate. More...
 
class  RateEWMAXParameters< STABILITY, SCALE, T, U >
 Parameters for a RateEWMA with constant scaling factor and alpha, one rate count, and epochs of jiffies. More...
 

Typedefs

typedef DirectEWMAX< FixedEWMAXParameters< 4, 10 > > DirectEWMA
 A DirectEWMAX with stability shift 4 (alpha 1/16), scaling factor 10 (10 bits of fraction), and underlying type unsigned.
 
typedef DirectEWMAX< FixedEWMAXParameters< 3, 10 > > FastDirectEWMA
 A DirectEWMAX with stability shift 3 (alpha 1/8), scaling factor 10 (10 bits of fraction), and underlying type unsigned.
 
typedef RateEWMAX< RateEWMAXParameters< 4, 10, uint64_t, int64_t > > RateEWMA
 A RateEWMAX with stability shift 4 (alpha 1/16), scaling factor 10 (10 bits of fraction), one rate, and underlying type uint64_t that measures epochs in jiffies.
 

Detailed Description

Click's classes for supporting exponentially weighted moving averages.

>

Typedef Documentation

◆ DirectEWMA

A DirectEWMAX with stability shift 4 (alpha 1/16), scaling factor 10 (10 bits of fraction), and underlying type unsigned.

◆ FastDirectEWMA

A DirectEWMAX with stability shift 3 (alpha 1/8), scaling factor 10 (10 bits of fraction), and underlying type unsigned.

◆ RateEWMA

typedef RateEWMAX<RateEWMAXParameters<4, 10, uint64_t, int64_t> > RateEWMA

A RateEWMAX with stability shift 4 (alpha 1/16), scaling factor 10 (10 bits of fraction), one rate, and underlying type uint64_t that measures epochs in jiffies.