2020-06-29 07:32 AM
Bonjour,
How to see what percentage of CPU is used on a stm32h7 when a program is running?
Ulysse
2020-06-29 08:13 AM
If you do not have any low power mode implemented, then the CPU is used 100% of the time. It is always doing something, isn't it?
If you are using some low power mode, you might be able to check some timers when entering and exiting low power mode. Be sure to select a timer which is not stopped while the system is in low power mode.
2020-06-29 08:44 AM
You'd need to create your own methods for evaluating this. Typically you'd determine how much time was spent in the idle task of an RTOS