<PackageReference Include="System.Reactive" Version="6.0.1-preview.1" />

System.Reactive.Concurrency.IStopwatch

public interface IStopwatch
Abstraction for a stopwatch to compute time relative to a starting point.
TimeSpan Elapsed { get; }

Gets the time elapsed since the stopwatch object was obtained.