Table of Contents

Class Rate32OnTimeSpan

Namespace
Skyline.DataMiner.Utils.Rates.Common
Assembly
Skyline.DataMiner.Utils.Rates.Common.dll

Allows calculating rates of all sorts (bit rates, counter rates, etc) based on UInt32 counters and TimeSpan values.

public class Rate32OnTimeSpan : RateOnTimeSpan<uint, Counter32WithTimeSpan>
Inheritance
Rate32OnTimeSpan
Inherited Members
Extension Methods

Methods

Calculate(uint, TimeSpan, double)

Calculates the rate using provided newCounter against previous counters buffered in this Rate32OnTimeSpan instance.

FromJsonString(string, TimeSpan, TimeSpan, RateBase)

Deserializes a JSON String to a Rate32OnTimeSpan instance.