home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 22160 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.0 KB

  1. Path: sparky!uunet!gumby!destroyer!cs.ubc.ca!unixg.ubc.ca!sainaney
  2. From: sainaney@unixg.ubc.ca (Narayan R. Sainaney)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: CPU load
  5. Date: 25 Jan 1993 22:23:07 GMT
  6. Organization: University of British Columbia, Vancouver, B.C., Canada
  7. Lines: 12
  8. Sender: sainaney@unixg.ubc.ca
  9. Distribution: world
  10. Message-ID: <1k1p8bINNjuc@skeena.ucs.ubc.ca>
  11. NNTP-Posting-Host: unixg.ubc.ca
  12.  
  13.     Hi, I am working on an application that shows the current CPU
  14. stats including foreground application, how long you've been in it,
  15. memory used, memory used by foreground application etc. I would like
  16. to have a graphical representation of the current CPU load due to the
  17. foreground application. Currently, I just check to see how many null
  18. events I get in 1 second (60 max right?) and then use the proportion  
  19. to draw a bar. This however is more of a multifinder friendly rating.
  20. Does anyone have any better suggestions how to go about doing something
  21. like that? Any help would be greatly appreciated...
  22.  
  23. sainaney@unixg.ubc.ca
  24.  
  25.