Table of Contents

Class Rate64OnTimeSpan

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 ulong counters and TimeSpan values.

public class Rate64OnTimeSpan : RateOnTimeSpan<ulong, Counter64WithTimeSpan>
Inheritance
Rate64OnTimeSpan
Inherited Members
Extension Methods

Methods

Calculate(ulong, TimeSpan, double)

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

FromJsonString(string, TimeSpan, TimeSpan, RateBase)

Deserializes a JSON string to a Rate64OnTimeSpan instance.