CPU load measurement

I’d like to measure the CPU idle percentage on my application in a Q2687 running OpenAT v6.10.

To this end, i’d like to be able to put code into the OpenAT system_idle()-routine.

Is this possible?