home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / hypercar / 3209 < prev    next >
Encoding:
Internet Message Format  |  1992-08-23  |  1.6 KB

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