Class Stopwatch
Class for representing a stop watch.
Inherited Members
Namespace: Evergine.Common.System
Assembly: Evergine.Common.dll
Syntax
public class Stopwatch : IStopwatch, IDisposable
Constructors
Stopwatch()
Initializes a new instance of the Stopwatch class.
Declaration
public Stopwatch()
Properties
ElapsedMilliseconds
Gets the elapsed milliseconds.
Declaration
public double ElapsedMilliseconds { get; }
Property Value
Type | Description |
---|---|
double |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Reset()
Resets this instance.
Declaration
public void Reset()
Start()
Starts this instance.
Declaration
public void Start()
Stop()
Stops this instance.
Declaration
public void Stop()