Class Timer
The base class for the diagnostic timers.
Namespace: FM.LiveSwitch.Diagnostics
Assembly: FM.LiveSwitch.dll
Syntax
public abstract class Timer : object
Properties
HasData
Gets if this Timer has data or not.
Declaration
public abstract bool HasData { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Tag
Gets the tag for this diagnostic timer.
Declaration
public string Tag { get; }
Property Value
Type | Description |
---|---|
System.String |
Watch
Gets the stop watch used in this timer.
Declaration
protected ManagedStopwatch Watch { get; }
Property Value
Type | Description |
---|---|
ManagedStopwatch |
Methods
Destroy()
Destroys this timer and its data.
Declaration
public void Destroy()
GetStats()
Gets a string containing the stats from this timer.
Declaration
public abstract string GetStats()
Returns
Type | Description |
---|---|
System.String |