FreeRTOS Runtime analysis for S32K144

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FreeRTOS Runtime analysis for S32K144

1,159 次查看
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 项奖励
回复
1 回复

1,146 次查看
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 项奖励
回复