Table of Contents

Class AbsoluteStopwatch

Namespace
Stride.Games.Time
Assembly
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.

public class AbsoluteStopwatch
Inheritance
object
AbsoluteStopwatch

Properties

Elapsed

Gets the time elapsed since previous call to Start method, in seconds.

public double Elapsed { get; }

Property Value

double

Methods

Start()

Start the stopwatch. (use this method also to restart stopwatching)

public void Start()