S32k144 PiL perf evaluation

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

S32k144 PiL perf evaluation

1,372 Views
liu_madeon
Contributor III

Hi talent,

I have the PiL result and try to evaluate Algorithm performance on S32K144, 

and my s32k is default pil initialize

how do i know the mcu usage base on tick unit.

Thank you

Sincerely,

Tags (2)
0 Kudos
Reply
3 Replies

1,288 Views
constantinrazva
NXP Employee
NXP Employee

Hello liu.madeon@inventec.com,

Those are profiler ticks that are shown and that means 40MHz clock frequency.

Kind regards,

Razvan.

0 Kudos
Reply

1,288 Views
liu_madeon
Contributor III

Hi constantinrazvan.chivu

thank you for your reply asap,

I try to calculate base on this method to know the CPU usage , is work or have any suggestion?

because I got the incredible tiny usage on my module,

0.000798925%(computing usage) =    31957(total function ticks)/40MHz 

I try another way to test performance by lauterbach debug tool simple base profilling and got the average usage about 4%

I dont know why such big difference, so I push this question on community and find some probably reason

Thank you

Sincerely,

0 Kudos
Reply

1,288 Views
constantinrazva
NXP Employee
NXP Employee

Hello liu.madeon@inventec.com ,

Sorry for the detailed answer - please take a look at this thread: https://community.nxp.com/thread/535738#comment-1330768 where I propose a way in which you can approximate the CPU load.

Kind regards,

Razvan.

0 Kudos
Reply