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