System.Threading.Watch.TicksNow C# (CSharp) Method

TicksNow() static private method

static private TicksNow ( ) : long
return long
        static long TicksNow()
        {
            // Spicy Pixel: No access to internal Mono method except by reflection.
            //
            // Monotonic time cannot be set and represents a time in ticks since
            // some unspecified starting point. It avoids drift due to system
            // time updates (which DateTime.Now.Ticks does not).
            //
            // return DateTime.GetTimeMonotonic ();
            return DateTime.Now.Ticks;
            // return Watch.GetTimeMonotonic();
        }