This application shows the current CPU usage in a floating square meter:
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.
When the application is frontmost, the meter has a completely-opaque border, and you can drag the meter around with the mouse. When the application is not frontmost, the border is hidden, and mouse events will fall through to whatever's below the meter.
You can configure the background color, the size of every cell, and the orientation (for multiple-CPU machines):
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 is version 0.3. 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.)
Coming 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.
MD5 and SHA1 signatures were created using the md5sum(1) and sha1sum(1) utilities from GNU coreutils.
2006-06-24 http://oocities.com/iamtheboredzo/cpuusage |
![]() |