home *** CD-ROM | disk | FTP | other *** search
- Path: toad.stack.urc.tue.nl!not-for-mail
- From: jaco@stack.urc.tue.nl (Jaco Schoonen)
- Newsgroups: comp.sys.amiga.programmer
- Subject: GetSysTime() accuracy
- Date: 11 Apr 1996 02:38:35 +0200
- Organization: MCGV Stack, Eindhoven University of Technology, the Netherlands.
- Message-ID: <4khkab$7p2@toad.stack.urc.tue.nl>
- NNTP-Posting-Host: toad.stack.urc.tue.nl
- X-Newsreader: TIN [version 1.2 PL2]
-
- Hi!
-
- I was playing with GetSysTime() from the timer.device today and I was
- wondering about something:
-
- If I call it in a loop, the first value for tv.micros will always end with
- 0000 or 0001. Then it get's 50-250 times increases by 1 and then suddenly
- skips about 0.02 seconds!
- It makes it quite unusable for me. I need to get the system time in 0.01
- seconds precision.
- What should I do? Should I really start bothering with CIA-timers, or is
- there another way of doing this through timer.device? I don't feel like
- messing with cia-timers myself...
-
- Thanks a lot!
-
- --
- Jaco Schoonen
- (jaco@stack.urc.tue.nl)
-