sopnic / larytet-master

Automatically exported from code.google.com/p/larytet-master
0 stars 0 forks source link

Stopwatch.IsHighResolution #28

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Check Stopwatch.IsHighResolution field in the DateTimePrecise. When the
system provides high resolution tick probably no additional trickery is
required to get high precision real time time stamp.

Another possible workaround (for Windows at least) is to get a couple of
DateTime samples and check if the nanosecond part is not zero.

Original issue reported on code.google.com by larytet@gmail.com on 13 Jan 2010 at 1:06