/// <summary> /// Get the current number of milli-seconds since this process has been started /// </summary> /// <returns>Milli-seconds</returns> public static Int64 GetTickCount() { AccurateTiming.Initialize(); System.Int64 count = 0; QueryPerformanceCounter(ref count); System.Int64 time_ns = (count) * 1000 / AccurateTiming.m_Frequency; return(time_ns); }
/// <summary> /// Default constructor /// </summary> public AccurateTiming() { AccurateTiming.Initialize(); }