Regarding the official CPU Usage Task, please note that we need to use a specific formula to assign workidle and sleepidle values. This formula must account for the total number of processors to ensure accuracy.
On the ActionScript, I did not see any mention about it
I've created content that will apply the CPU Usage and take into account the number of processors - Please review it and provide feedback
Yes, the task calculates the usage on a single processor/core.
All of these calculations apply to the single processor where the agent runs, so if you have multiple processors the overall % of agent CPU is reduced significantly because it is divided by the number of processors.