How to use vTaskGetRunTimeStats

oattypotter wrote on Friday, May 28, 2010:

Hi all,
I use freeRTOS with LPC2148 and I want to use vTaskGetRunTimeStats
Please someone give me for an example .
Thank you : )

rtel wrote on Friday, May 28, 2010:

http://www.freertos.org/rtos-run-time-stats.html gives an example on an LPC17xx, which I think is close to be compatible with the LPC2148.  Did you see the code there?

Regards.

oattypotter wrote on Sunday, May 30, 2010:

Thank Richard,
I just want to know where should I put this function to get the result like an example.
I use uart  to show the result.
Are there any effect with the result?
; )

davedoors wrote on Monday, May 31, 2010:

The macros can be in FreeRTOSConfig.h.