Class Timer
The base class for the diagnostic timers.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch.Diagnostics
Assembly: FM.LiveSwitch.dll
Syntax
public abstract class Timer
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 |