This application shows the current CPU usage in a floating square meter, or your Dock icon, or both:
This information is useful for determining how hard your computer is being worked. Your computer may behave slowly or run hot when the processor is being worked hard.
The text is completely transparent, and the opacity of the meter's background is directly tied to the CPU usage (for example, the backdrop of the meter above is 63% opaque). Also, if you have more than one processor, the meter will have multiple cells, and in each one, the CPU number will be shown below the percentage.
This application requires Mac OS X 10.4 or later. It is a universal binary, so it will run natively on either an Intel-based Mac or a PowerPC-based Mac.
This application uses source code by Matt Legend Gemmell.
This is version 0.5. It is not a final release. However, there are no known bugs.
Please contact me with bug reports. (Contact information is in the ReadMe included with the software.)
The next version will probably be 1.0. At the moment, I don't have any plans to add anything; any changes between 0.5 and 1.0 will probably be minor, except that 1.0 may use the final Sparkle 1.5 updater, rather than a build of a work-in-progress version of it.
If you know a feature you want to request, please contact me. (Contact information is in the ReadMe included with the software.)
New in version 0.5:
Fixed in version 0.5:
New in version 0.4:
Fixed in version 0.4:
Fixed in version 0.3:
The application gushed memory (approx. 10 K per second, according to top) because host_processor_info (the function that returns the accumulated CPU usage numbers) allocates a new array in memory, and I was not calling vm_deallocate on that array.
The application is now multi-threaded.
The theory behind this is that OS X's scheduler may distribute the threads between the various processors in the machine, so that a multi-processor Mac will be using each of its processors to draw one of the views.
Probing the CPU usage still happens on the main thread. This means that one of the CPUs is still getting a little more work than the others. There's nothing that I can do about that.
Fixed in version 0.2:
The orientation control didn't work (highlighting was broken).
The background color control didn't work (probably happened when I changed it over to Bindings).
Version 0.1 was the first release.
If you want to contribute bug-fixes or enhancements to CPU Usage, the easiest way to do that is to clone the Mercurial repository for CPU Usage. To do this, type this command into a terminal:
hg clone http://boredzo.org/cpuusage/hg CPU-Usage
I provide CPU Usage—the application, and its source code—under a three-clause BSD license. For more information, see the file named LICENSE.txt that comes with it. Additionally, CPU Usage 0.5 and later include code written by other people; each class is in its folder, together with its license agreement. (The only exception is Sparkle, which is not included in the source. I provide instead a shell script to fetch either Sparkle trunk or a specific tag; Sparkle's license is in the resulting checkout.)