<PackageReference Include="System.Reactive" Version="6.0.0" />

IStopwatch

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