Hi !
I'd like to have some advices because I'm stuck !
I need to measure the CPU load on my device (LPC 11xx). However, it's programmed in bare metal so I don't have access to the classic Linux commands.
How would you do to have an idea of this consumption and be sure, for example, that you are not using more than xx% of CPU load ?
Thanks for helping me !
Not sure this is possible with a Cortex-M0 as there are no Performance Counters (that are present in Cortex-M3/M4/etc).
One thing that you may be able to do is to use a spare GPIO that you set when going to sleep (WFI) and gets cleared when reawakened (in the interrupt handlers), and then using an external scope to monitor that signal.