FreeRTOS Runtime analysis for S32K144

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FreeRTOS Runtime analysis for S32K144

1,130件の閲覧回数
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,117件の閲覧回数
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 件の賞賛
返信