public static double ConvertNanoToStopwatchTicks(long pauseDurationInNanos) { return pauseDurationInNanos * Math.Pow(10, -9) * Stopwatch.Frequency; }