home *** CD-ROM | disk | FTP | other *** search
- This code is based on Idle Led V 2.0 written by Lindsay Meek. Instead of
- controlling the LED I added a task which reads the free cpu-time ten times
- per second and draw the mean-value in steps of one second as history bars
- in a small window. It aborts on CTRL_D signal because the code crashes
- on CTRL_C when compiled with GNU-C. For that reason the CTRL_C handling
- is switched off. If you are using Aztec-C, you may erase the line
-
- signal(SIGINT,SIG_IGN);
-
- and use CTRL_C if you wish to do so.
-
- This program is very beta ! On Aztec-C (at least) it produces enforcer-hits.
- Also, the calibration seems to work not ok as Aztec binary shows more
- free cpu time then the Gnu output.
-
- To save double-operations, I make two unsigned bit-shifts (<<,>>). This
- leads to trouble if your machine is a 1000000 times faster than a
- A4000/030. I emphasize that this is of major interest if one will use
- the code in AD 2100 on a cheap pocket calculator ;-).
-
- Source and binary are freeware. Binary was compiled with Gnu-C 2.6.1 -O3
- w/o ixemul.library and any math library or fpu.
-
- The code is very fast on A2000/ECS/030/25/2.0 and A4000/030/25/3.0 and I think
- it is also save. No guru visits me. It should also be useful on 68k machines.
-
- If you find bugs or have ideas to improve the code, then let me hear.
- Otherwise this version will be the last one, because it runs fine on my
- A4000/030 3.0 and I don't have to much time to maintain the code for longer.
-
- Use CPULoad to find ghost tasks eating up cpu cycles, busy waits in programs
- with low priority (look what VChess does), enjoy that WBTetris needs less
- cycles than mouse movement, simply know what your software is doing to your
- cpu.
-
- The only known problem occurs when a process does a Forbit() for longer (try
- Artillerus or Charr and then erase it from your HD). If that happens, kill
- (ARTM, Xoper, etc.) the IRQ server, task, process and finally the window.
-
- Send mods, bugs (I prefer reports like 'there could be a timing problem on my A...'
- rather then 'it dosn't work on my Amiga'), requests, news on amiga, games to
-
- thradtke@nereid.rz.uni-osnabrueck.de
-
- bye, __ ___
- / / /
- /
- / homas
-