home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / os9 / 1579 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.3 KB  |  25 lines

  1. Newsgroups: comp.os.os9
  2. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watserv1!babbage.uwaterloo.ca!bcwhite
  3. From: bcwhite@babbage.uwaterloo.ca (Brian C. White)
  4. Subject: Re: Milliseconds with OS9?
  5. Message-ID: <C0p0GD.BwE@watserv1.uwaterloo.ca>
  6. Sender: news@watserv1.uwaterloo.ca
  7. Organization: University of Waterloo
  8. References: <1993Jan10.125850.15330@Informatik.TU-Muenchen.DE>
  9. Date: Mon, 11 Jan 1993 14:05:00 GMT
  10. Lines: 13
  11.  
  12. In article <1993Jan10.125850.15330@Informatik.TU-Muenchen.DE> slotosch@Informatik.TU-Muenchen.DE (Oscar Slotosch) writes:
  13. >I started with a problem in the new year.
  14. >I want to have a precise clock on my OS9-System to measure within some
  15. >technical processes. The clock should be able to "show" milliseconds.
  16.  
  17. This is a pretty vague question.  What type of hardware are you running on?
  18. If your hardware has a timer chip that measures in milliseconds, then
  19. yes, you can read milliseconds.  If you have no such timer, then no.
  20.  
  21. You may have to "cheat" to read the timer because OS-9 only keeps time
  22. based on the number of "ticks/second" it gets.  On many systems this is
  23. 100t/s, though it does go higher.  (By cheat, I mean address the hardware
  24. directly instead of going through a proper driver.)
  25.