Timer problem

  • Thread starter Thread starter Jay
  • Start date Start date
J

Jay

I am seeing a problem with intervals less than 1 second not being accurate
on machines running faster than 1giga-hertz. Is there a work around for
this?

Thank You for any help with this issue
 
Hi,

I'm running 1.7Ghz and I havn't noticed any problems. Are you running any
processor-intensive loops? Post some example code of your timer and what
you are doing while it runs, maybe someone will spot something that can help
you. Good luck! Ken.
 
Hi Jay,
I am seeing a problem with intervals less than 1 second not being accurate
on machines running faster than 1giga-hertz. Is there a work around for
this?

which Timer are you using? There are 3 Timers, System.Windows.Forms.Timer,
System.Timers.Timer and System.Threading.Timer.
While the System.Windows.Forms.Timer runs on the same thread the UI is
running, the other two run on a seperate thread and should be more exact.

Read this:
http://msdn.microsoft.com/library/en-us/vbcon/html/vbconServerBasedTimers.asp

Cheers

Arne Janning
 
Jay,

On a mulitprocessing computer the time will be almost never accurate, do you
know what process is executing when your timer should throw an event?

I hope this gives some idea's

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top