I need to way to get a very precise measurement of current time. The tick value seems to be perfect for this, but the most common way to get it (DateTime.Now
) seems to have a fairly loose tolerance (approx ~16ms from what I can tell). There are examples out there that use the StopWatch class to measure deltas using the high resolution timers, but nothing about using those same high resolution counters to measure the current time as ticks.
Is there any way to get the current time as ticks that is more precise than DateTime.Now.Ticks
?