home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / hypercar / 2874 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  1.3 KB

  1. Path: sparky!uunet!pmafire!news.dell.com!natinst.com!cs.utexas.edu!zaphod.mps.ohio-state.edu!rpi!bu.edu!dartvax!Eric.J.Baumgartner
  2. From: Eric.J.Baumgartner@dartmouth.edu (Eric J. Baumgartner)
  3. Newsgroups: comp.sys.mac.hypercard
  4. Subject: Re: WAIT Command
  5. Message-ID: <1992Jul24.152649.11106@dartvax.dartmouth.edu>
  6. Date: 24 Jul 92 15:26:49 GMT
  7. References: <BrutHG.1M3@usenet.ucs.indiana.edu>  
  8.  <1682DF168.EIVERSO@cms.cc.wayne.edu>
  9. Sender: news@dartvax.dartmouth.edu (The News Manager)
  10. Organization: Dartmouth College, Hanover, NH
  11. Lines: 21
  12.  
  13. In article <1682DF168.EIVERSO@cms.cc.wayne.edu>
  14. EIVERSO@cms.cc.wayne.edu writes:
  15.  
  16. > No, but if you just want to create a wait state, try executing a function
  17. > or something. You, know: do some busy-work.
  18. >  
  19. > You can roughly calculate the time spent by running this test:
  20. > get the ticks,
  21. > repeat the busy-work several times,
  22. > get the ticks - it,
  23. > divide it by the number of repeats
  24.  
  25. This method is totally dependent on the machine you're running it on,
  26. as well as what sort of background processes might be stealing time
  27. from you. If you really need millisecond timing you'll have to write or
  28. find an XCMD.
  29.  
  30. Eric Baumgartner                   *  ebaum@dartmouth.edu
  31. Interactive Media Lab              *  - When in danger or in doubt,
  32. Dartmouth Medical School           *      run in circles, scream and
  33. shout.
  34.