Class Rate32OnTimeSpan
Allows calculating rates of all sorts (bit rates, counter rates, etc) based on uint 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.