home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / programm / 3901 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  929 b 

  1. Xref: sparky comp.unix.programmer:3901 comp.unix.bsd:2823 comp.unix.wizards:3298 comp.unix.questions:9399 comp.unix.internals:1607 comp.unix.misc:3013
  2. Newsgroups: comp.unix.programmer,comp.unix.bsd,comp.unix.wizards,comp.unix.questions,comp.unix.internals,comp.unix.misc
  3. Path: sparky!uunet!cs.utexas.edu!torn!watserv1!watmath!undergrad.math.waterloo.edu!cayley.waterloo.edu!amichail
  4. From: amichail@cayley.waterloo.edu (Amir Michail)
  5. Subject: how to get virtual time
  6. Message-ID: <Brwsrv.Hsz@undergrad.math.waterloo.edu>
  7. Sender: news@undergrad.math.waterloo.edu
  8. Organization: University of Waterloo
  9. Date: Fri, 24 Jul 1992 19:57:30 GMT
  10. Lines: 11
  11.  
  12. How do I obtain the virtual time (user & system time NOT real time) in a C 
  13. program?
  14.  
  15. I need to do this on a sparc with accuracy in milliseconds.
  16.  
  17. Amir
  18.  
  19. P.S.  I don't want to use the virtual alarm.  I need that for something
  20. else, and it would be much too slow to invoke frequently.
  21.  
  22.  
  23.