M
msnews
Hi,
The best resolution I can get using System.Threading.Timer is 10ms which for
all pratical purposes is just fine. However, it is kind of anonying as the
Timer class does seem to indicate 1 millisec resolution and I have based my
ElapsedTime/Stopwatch classes on this assumption. The TimerCallback method
passed to the Timer is re-entrant. I do use High Performance counters for
more accurate timings and typically only use 1/10 of sec for my classes
using the Timer class. Newsgroups archives seem to converge on 100ms as
being typically reliable. Out of interest has anyone been able to collect a
tick count at millsec resolution.- that is actually seen a 1000 calls of
their TimerCallback per sec. Thanks, Matt.
The best resolution I can get using System.Threading.Timer is 10ms which for
all pratical purposes is just fine. However, it is kind of anonying as the
Timer class does seem to indicate 1 millisec resolution and I have based my
ElapsedTime/Stopwatch classes on this assumption. The TimerCallback method
passed to the Timer is re-entrant. I do use High Performance counters for
more accurate timings and typically only use 1/10 of sec for my classes
using the Timer class. Newsgroups archives seem to converge on 100ms as
being typically reliable. Out of interest has anyone been able to collect a
tick count at millsec resolution.- that is actually seen a 1000 calls of
their TimerCallback per sec. Thanks, Matt.