using System; using System.Diagnostics; namespace Swan.Diagnostics { /// /// Provides access to a high-resolution, time measuring device. /// /// // [Obsolete("NEED", false)] public class HighResolutionTimer : Stopwatch { /// /// Initializes a new instance of the class. /// /// High-resolution timer not available. public HighResolutionTimer() { if(!IsHighResolution) { throw new NotSupportedException("High-resolution timer not available"); } } /*/// /// Gets the number of microseconds per timer tick. /// public static Double MicrosecondsPerTick { get; } = 1000000d / Frequency;*/ } }