Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: EClock's precision with longer time periods...
« on: May 25, 2005, 12:59:12 AM »
Quote
But regarding VBlank it states that it can have higher precision than MicroHz and Eclock.

Where does it say that exactly?

Quote

   UNIT_VBLANK
 This unit uses a strobe from the power supply to keep track of its
 time or the "E" clock on machines without power supply strobes.
 It is very stable over time, but only has a resolution of that of
 the vertical blank interrupt.  This unit is very cheap to use, and
 should be used by those who are waiting for long periods of time
 (typically 1/2 second or more).  This unit uses a timeval in its
 timerequest.


This means VBLANK is only good for relatively long delays. VBLANK is also lighter for the OS to handle.

Quote
So what's the limit that one should use EClock in favour of VBlank

It's quite clearly explained above.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: EClock's precision with longer time periods...
« Reply #1 on: May 25, 2005, 01:14:18 PM »
My quote is from timer.device autodoc (timer.doc).