FreeRTOS Runtime analysis for S32K144

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

FreeRTOS Runtime analysis for S32K144

1,169 Views
Amichheda
Contributor I

We want to analyze runtime and memory usage for each task configured using  FreeRTOS

Tick time is 1msec

PLL clk 8Mhz

  1. How often the runtime is updated for each task and how it is achieved
  2. Did you use ISR based mechanism to update task runtime for each timer tick (for eg 250us)
  3. Which clock to be used ? LPTMR OR LPIT
  4. any other API other than vTaskGetRunTimeStats() 
0 Kudos
Reply
1 Reply

1,156 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

Please take a look at:

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

Example in the SDK does not use this feature. It’s up to users to implement it. It is possible to use any timer capable to generate periodic interrupt, so both LPIT and LPTMR can be utilized.

Another option is to use some tracing tools in advanced debuggers to do the analysis. This is not supported by S32 Design Studio.

Regards,

Lukas

0 Kudos
Reply