<PackageReference Include="NUnit" Version="3.0.0-alpha" />

Stopwatch

public class Stopwatch
This class wraps a System.Diagnostics.Stopwatch on operating systems that support it. On those that don't, it replicates the functionality at the resolution supported.
public static long Frequency { get; }

Gets the frequency of the timer as the number of ticks per second.

public static bool IsHighResolution { get; }

Indicates whether the timer is based on a high-resolution performance counter.

public long ElapsedMilliseconds { get; }

Gets the total elapsed time measured by the current instance, in milliseconds.

public bool IsRunning { get; }

Gets a value indicating whether the Stopwatch timer is running.

public Stopwatch()

public static long GetTimestamp()

Gets the current number of ticks in the timer mechanism.

public static Stopwatch StartNew()

Initializes a new Stopwatch instance, sets the elapsed time property to zero, and starts measuring elapsed time.

public void Reset()

Stops time interval measurement and resets the elapsed time to zero.

public void Restart()

Stops time interval measurement, resets the elapsed time to zero, and starts measuring elapsed time.

public void Start()

Starts, or resumes, measuring elapsed time for an interval.

public void Stop()

Stops measuring elapsed time for an interval.