I'm pleased to present you a tool i'm working on - that make uses of the CPU internal stats counters.
is a graphical CPU Monitor for the AC68080 that shows in realtime valuable informations of the internal CPU activity.
It requires a GOLD2+ core
and it is currentely developped using a GOLD2 alpha core.
It can shows how many MIPS are currentely in use (literally how many million of instructions really executed in a given interval). This can't be compared to classical CPU Load existing tools. One of the coolest feature is the ability to show the Pipe 1 and Pipe 2 usage. Also, coders have an interesting visibility on the Branches prediction efficiency, Cache hits efficiency, the amount of R/W on mem, and stalls. This informations gives hints on about how to optimize a program (with some knowledges) - but mainly it is *fun* to use even as end-users
I wanted to have a minimal impact on the general performances while not sacrifying the look and feel, so CPUMon is coded 100% in ASM. It use very few CPU ressources for what it does. It is small, 4KB, about 800 lines of code - quite simple code, mainly calling CPU counters, computing some valuable informations, and using the Graphics.library for the rendering (Move, Text, Draw, SetAPen, PolyLine, ...).
This is early work and i'm still digging into AmigaOS API to improve it as i wish (i need to dig into window border sizes, iconifying, font sizing and such). Also i plan to add some more informations such as the IPC (Instruction Per Cycle), the % of usage of the pipe 2, Peak values to remember max scores. Also, i would like to add selectable different timing resolutions (some levels between 'faster refresh but less accurate' and 'slower but more accurate' (1/10 sec, 1/5 sec, 1/2 sec, 1 sec). And a toggable File logger. Also, i will put the sources on github when i'm happy with current code to invit more skilled coders to improve it.