home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / pascal / 7393 < prev    next >
Encoding:
Text File  |  1992-12-11  |  1.4 KB  |  41 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!usc!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!s.psych.uiuc.edu!amead
  3. From: amead@s.psych.uiuc.edu (Alan Mead)
  4. Subject: Re: High speed clock
  5. References: <1992Nov20.091212.24871@lth.se> <peter.422.723796479@psychnet.psychol.utas.edu.au>
  6. Message-ID: <Bz47zL.5sH@news.cso.uiuc.edu>
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Organization: UIUC Department of Psychology
  9. Date: Fri, 11 Dec 1992 22:04:30 GMT
  10. Keywords: clock
  11. Lines: 28
  12.  
  13. >In article <1992Nov20.091212.24871@lth.se> d92bo@efd.lth.se (Bengt Oehman) writes:
  14. >From: d92bo@efd.lth.se (Bengt Oehman)
  15. >Subject: High speed clock
  16. >Keywords: clock
  17. >Date: 20 Nov 92 09:12:12 GMT
  18.  
  19.  
  20. >Does anyone out there know how to do high-speed timing?
  21. >The internal clock ticks with 18.2 ticks per second, and
  22. >sometimes this is too slow. I want a resolution of about
  23. >one millisecond.
  24.  
  25. >Please reply via email.
  26.  
  27. I'll reply via email too...
  28.  
  29. First, a solution:  there is a self-extracting zip file, TIMER.EXE,
  30. that can be had by anon-ftp from my host, s.psych.uiuc.edu (in /pub I
  31. think) that incudes a driver that will do this.
  32.  
  33. Now, can anyone EXPLAIN how this is done?  I have always wanted to
  34. know--it's really not the best situation to have very OS-specific code
  35. that you cannot understand and thus maintain.  And, unfortunately, the
  36. standard in psych is to time events to the millisecond.
  37.  
  38. Thanks much.
  39.  
  40. -alan
  41.