@svta/common-media-library
    Preparing search index...

    Class EwmaBeta

    Exponential Weighted Moving Average (EWMA)

    Index

    Constructors

    Methods

    • Beta

      Returns the estimate of the value (in units, as value during sampling)

      For example, if the value is throughput (in bits per seconds), the estimate will also be in bits per seconds.

      Returns number

    • Beta

      Returns the total duration of the resource (in units, as weight during sampling)

      Returns number

    • Beta

      Samples the value of the resource and updates the estimate.

      Parameters

      • weight: number
      • value: number

      Returns void