Class RateTimer
A rate timer for calculating the frequency of something.
Namespace: FM.LiveSwitch.Diagnostics
Assembly: FM.LiveSwitch.dll
Syntax
public class RateTimer : Timer
Properties
HasData
Gets whether this timer has data or not.
Declaration
public override bool HasData { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Methods
AddTick()
Adds a sample.
Declaration
public void AddTick()
GetStats()
Gets the current stats for this timer.
Declaration
public override string GetStats()
Returns
Type | Description |
---|---|
System.String |