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
If you have included the example way of implementing the RTX and TCP stack then it is 100% ready all the time. So Tamir is right, it would never get to the idle task. I have a os_dly_wait in the main thread of my TCP task so that it gives up some time.
Stuart
Thanks Stuart.
I was really blind. I found os_tsk_pass() in the routine. I changed it to os_dly_wait(). Now iam getting some meaningful numbers. Thanks again