Welcome, Guest. Please login or register.

Author Topic: EClock's precision with longer time periods...  (Read 1860 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: EClock's precision with longer time periods...
« on: May 25, 2005, 10:42:22 AM »
What exactly do you need?

If you need to create accurate short-interval (milliseconds to a few seconds) delays, the EClock is a good choice.

If you need to create longer delays, VBlank is a better choice, but naturally has a lower granularity. If your VBlank accuracy is say ~20ms (for 50Hz), that might be insignificant in  an overall delay of many seconds.
int p; // A