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
  • In this case, the CPU is the microprocessor in the embedded system, i.e. the microcontroller.

    For more advanced and/or critical systems, it is vital that the processor is always fast enough to handle all critical events in real time, i.e. with a minimum of delay and as fast as new events arrives. As soon as events are lost or gets enqueued, the device will no longer uphold real-time performance.

    But a system normally also have low-priority tasks. Things that is allowed to be delayed while critical events gets serviced. But even these low-priority tasks must finally get serviced even if it may be ok if they are delayed for several minutes or more. Being able to measure idle time for a processor can be used to estimate the probabilities that low-priority tasks gets starved.

Reply
  • In this case, the CPU is the microprocessor in the embedded system, i.e. the microcontroller.

    For more advanced and/or critical systems, it is vital that the processor is always fast enough to handle all critical events in real time, i.e. with a minimum of delay and as fast as new events arrives. As soon as events are lost or gets enqueued, the device will no longer uphold real-time performance.

    But a system normally also have low-priority tasks. Things that is allowed to be delayed while critical events gets serviced. But even these low-priority tasks must finally get serviced even if it may be ok if they are delayed for several minutes or more. Being able to measure idle time for a processor can be used to estimate the probabilities that low-priority tasks gets starved.

Children
No data