AbsoluteStopwatch Class
Namespace: Stride.Games.TimeAssembly: Stride.Games.dll
Represent an absolute time measurement stopwatch. (with as few internal overhead as possible) It measures elapsed time in seconds between calls to Start method and Elapsed property.
System.Object →
AbsoluteStopwatch
Derived from AbsoluteStopwatch:
public class AbsoluteStopwatch
| Name | Description | |
|---|---|---|
| Properties | ||
| Elapsed | Gets the time elapsed since previous call to Start method, in seconds. |
|
| Methods | ||
| Start() | Start the stopwatch. (use this method also to restart stopwatching) |
|
Properties
Elapsed
Gets the time elapsed since previous call to Start method, in seconds.
public double Elapsed { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Methods
Start()
Start the stopwatch. (use this method also to restart stopwatching)
public void Start()