Timers
I read that DateTime.Now doesn't have the same precision in the compact framework as in the desktop CLR.
Will there be a mechanism to call QueryPerformanceCounter() or something similar?
thanks
I read that DateTime.Now doesn't have the same precision in the compact framework as in the desktop CLR.
Will there be a mechanism to call QueryPerformanceCounter() or something similar?
thanks
System.Diagnostics.Stopwatch is supported and is plumbed into QPC(). Since Stopwatch uses QPC if available on Windows as well, it is likely a good option.
Paul
I'm very pleased with the Stopwatch; it seems very accurate even when measuring small fractions of time. Nice add-on for the 2.0 framework.
Roger Larsen