home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / wizards / 4625 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  1.2 KB

  1. Path: sparky!uunet!bcstec!bcsaic!sinan
  2. From: sinan@bcsaic.boeing.com (Sinan Karasu)
  3. Newsgroups: comp.unix.wizards
  4. Subject: Solaris 2.0/2.1 Realtime programming
  5. Message-ID: <87021@bcsaic.boeing.com>
  6. Date: 11 Nov 92 20:35:32 GMT
  7. Distribution: comp.unix.wizards
  8. Organization: Boeing Computer Services AI Center, Seattle
  9. Lines: 23
  10.  
  11. Hi wizards,
  12. I am porting an application that requires very fine
  13. timing control to Solaris 2.0/2.1. I need to be able to schedule
  14. my program at given time increments. The time increment can be
  15. anywhere from 1 millisecond to 50 milliseconds. I gave played
  16. with setitimer and SIGALRM , they do work fine except I can not
  17. get better than 10 millisecond granularity. So I decided
  18. to try something more hardware oriented and noticed that there are
  19. 2 timer/counters in the MMU chip.
  20. Questions:
  21.  
  22. 1) Does the OS use either or both of these counters?
  23. 2) Are there other timers available on the Sparc platform?
  24. 3) Does the equation change if I use a VME based SparcEngine?
  25. 4) Does/Has anybody done/? any work in this area and give me some
  26.    pointers?
  27. 5) Are there other calls in Solaris 2.0 and derivatives that would
  28.    allow me to what I am trying to do ????
  29.  
  30.  
  31.  
  32. Thanx for any and all answers/pointers/criticism/etc...
  33. Sinan Karasu
  34.