Page 1 of 1

Problem with CPU monitor in AmiDock

Posted: Tue Nov 26, 2013 10:18 am
by zzd10h
Hi all,
we (Javier, Kas1e and me) have some interesting problem.

We currently try to make a cpu_monitor docky, which will fits in amidock tray bar.
There are a lot of CPU Docky but we want to make a very little one to put it in Workbench TitleBar, like that :

http://zzd10h.amiga-ng.org/CPUDock/CPUDock.jpg

To monitor whole AmigaOS workload we use cpu_watcher sources.

And there is come surprise: when we add that code to docky, on all Amiga systems all works fine, but on peg2 it give us strange results (from 0 to 100% workload in a erratic way).
While, cpu_watcher initially works on peg2 fine.

This docky have been tested on

3 x SAM460
1 x SAM440-flex
1 x SAM440ep
2 x X1000
1 x AOne G3
2 x AOneXE G4
3x Pegasos 2

It fails only on the 3 Pegasos 2

On what direction we need to look ?
Can it be because of timing somewhere ?
Or AmiDock different handle start of external task ?

Any help or ideas are good !

Or what is better, if someone can point out on another cpu_monitor source code which we can just inbuild into docky.

Thanks !