home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!waikato.ac.nz!ldo
- From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
- Newsgroups: comp.sys.mac.hypercard
- Subject: Re: How does 'the ticks' work? (Accuracy?)
- Message-ID: <1992Aug24.155008.10332@waikato.ac.nz>
- Date: 24 Aug 92 15:50:08 +1200
- References: <1992Aug23.234732.21292@newsroom.utas.edu.au>
- Organization: University of Waikato, Hamilton, New Zealand
- Lines: 23
-
- In article <1992Aug23.234732.21292@newsroom.utas.edu.au>, bulmer@hilbert.maths.utas.edu.au (Michael R. Bulmer) writes:
- >
- > Does anyone out there know how 'the ticks' are generated in
- > HyperCard (any version)? I am trying to use it to measure things
- > over about half and hour and have found that it becomes very
- > inaccurate in that time.
- >
- > It seems that it is implemented in software, rather than using a clock
- > directly. From some empirical testing it does seem to be out by a constant
- > factor (about 60.14 ticks/sec, rather than 60) but I'd like some theory
- > to know how reliable that factor is and what things effect it. (eg it
- > varies wildly with other applications running).
-
- There's no mistake--there are in fact 60.15 ticks to the second, not 60.00.
-
- The only common thing I know of that is likely to throw off the Ticks value
- is spending a long time sitting at the MacsBug prompt (ie with interrupts
- disabled).
-
- Lawrence D'Oliveiro fone: +64-7-856-2889
- Computer Services Dept fax: +64-7-838-4066
- University of Waikato electric mail: ldo@waikato.ac.nz
- Hamilton, New Zealand 37^ 47' 26" S, 175^ 19' 7" E, GMT+12:0
-