Hello all,
I have been reading through the rtos manual and am interested in tracking the time (whether in seconds (or sub seconds) or in ticks) that each task is in the ready/running state. In other words I would like to track the cpu usage that each task takes up. I realize that there are inherent functions in the RTOS that will allow such troubleshooting to be done. The vTaskGetRunTimeStats() looks like a promising direction to take. I have two questions for those with more embedded software design experience. Firstly, what is the best way to track the task cpu time allocation? Secondly, where would you implement such a function as vTaskGetRunTimeStats()? I am using the Ez430 Rf2560 sdk with IAR. Thanks in advance for the advice...
~MJ