Problem with CPU monitor in AmiDock

This forum is for general developer support questions.
Post Reply
zzd10h
Posts: 546
Joined: Sun Sep 16, 2012 5:40 am
Location: France

Problem with CPU monitor in AmiDock

Post 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 !
http://apps.amistore.net/zTools
X1000 - AmigaOS 4.1.6 / 4.1 FE
Post Reply