/// <summary> /// Initializes a new Stopwatch instance, sets the elapsed time property to zero, and starts measuring elapsed time. /// </summary> /// <returns>A <see cref="IStopwatch"/> that has just begun measuring elapsed time.</returns> public IStopwatch StartNew() { return(StopwatchAdapter.StartNew()); }
/// <summary> /// Gets the current number of ticks in the timer mechanism. /// </summary> /// <returns>A long integer representing the tick counter value of the underlying timer mechanism.</returns> public long GetTimestamp() { return(StopwatchAdapter.GetTimestamp()); }