Hello,
I wish to measure the CPU utlization for a cortex processor running an RTOS (keil RTX). Without an RTOS, i can measure the idle time to come to some conclusion. But with RTOS, can someone guide me how to measure CPU utlization?
Thanks & Best Regards Vivek
Hi Vivek,
As suggested in this thread, I am also trying to measure the idle time , etc and arrive at CPU util using the logic analyzer.
However, I am curious to know ("Without an RTOS, i can measure the idle time to come to some conclusion"), how / which method did you use for this?
Regards Padma
"RTX's idle task is only invoked if there are no really to run tasks"
Assuming that should be "ready to run".
If something is ready to run, then the CPU cannot be idle. It is therefore sensible to assume that you should not expect the idle task to run at this time.
View all questions in Keil forum