free rtos debugging in mcu xpresso runtime

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

free rtos debugging in mcu xpresso runtime

1,278 Views
jinu_mohan
Contributor I

hi ,

i had enabled the free rtos functions in mcu xpresso to monitor the behaviour of threads i'm able to get the run time but i need to convert this into seconds how to convert it 

Screenshot from 2022-03-10 13-59-45.png

im getting the runtime in hex values need to convert this values to seconds how to do that.?

@kerryzhou  

  

0 Kudos
Reply
4 Replies

1,256 Views
jinu_mohan
Contributor I

Hi ,

Thanks for the update 

Is there any tools in MCU xpresso to check the run timing of RTOS threads.?

@kerryzhou 

0 Kudos
Reply

1,255 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @jinu_mohan ,

  You can use the code to collect it:

https://www.freertos.org/rtos-run-time-stats.html

   vTaskGetRunTimeStats() API can help you to collect the time.

Please also check this post:

https://community.nxp.com/t5/MCUXpresso-IDE/FreeRTOS-runtime-stats/m-p/1067434

Wish it helps you!

Best Regards,

Kerry

0 Kudos
Reply

1,263 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @jinu_mohan ,

  I checked the MCUXpresso IDE related document:

C:\nxp\MCUXpressoIDE_11.5.0_7232\MCUXpresso_IDE_FreeRTOS_Debug_Guide.pdf

kerryzhou_0-1647227750842.png

It is the percentage value, so, it should can't change to the seconds, more details, you also can check the above IDE document.

 

Best Regards,

Kerry

 

0 Kudos
Reply

1,272 Views
jinu_mohan
Contributor I

Hi team,

is thr any method to calculate it from the ide. or any calculations are there please help.

@kerryzhou 

0 Kudos
Reply