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
  • Hello All,

    When i make repeated measurements, i observe that sometimes, i get values that are twice or thrice the value i get most of the times.

    For ex i get CPU_idle_time_counter = 0x00057E34 most of the times, but i also get 0x000AFC68 and 0x00107A9D.

    I couldnt think of any reason why this could happen. Idle task is not executed. That is clear. But is it OK to ignore such values.

    Vivek

Reply
  • Hello All,

    When i make repeated measurements, i observe that sometimes, i get values that are twice or thrice the value i get most of the times.

    For ex i get CPU_idle_time_counter = 0x00057E34 most of the times, but i also get 0x000AFC68 and 0x00107A9D.

    I couldnt think of any reason why this could happen. Idle task is not executed. That is clear. But is it OK to ignore such values.

    Vivek

Children