This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Measuring CPU utlization

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

Parents
  • "the fact that the idle task is not executed does not mean the processor is 100% loaded. proof? you can probably add a task that needs to wait for a predetermined period before waking up (even quite often) and it will probably never miss its deadline."

    Is that proof?

    You can always add a task and have it run without it missing it's deadline so long as the priorities are suitable. (i.e., higher priority than others that are ready to run.)

    Those lower priority tasks will still be consuming CPU cycles if they're ready to run.

Reply
  • "the fact that the idle task is not executed does not mean the processor is 100% loaded. proof? you can probably add a task that needs to wait for a predetermined period before waking up (even quite often) and it will probably never miss its deadline."

    Is that proof?

    You can always add a task and have it run without it missing it's deadline so long as the priorities are suitable. (i.e., higher priority than others that are ready to run.)

    Those lower priority tasks will still be consuming CPU cycles if they're ready to run.

Children