How do I calculate time for certain functions in MPC5777C?

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

How do I calculate time for certain functions in MPC5777C?

跳至解决方案
957 次查看
InhyeokHwang
Contributor III

I am using s32ds power architecture 2.1 and I am currently trying to calculate encryption/decryption time for cse project.

I tried using time.h but I don't think it works in s32ds.

Is there any way I can do?

标记 (1)
0 项奖励
回复
1 解答
934 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I was referring to core reference manual, not uC reference manual.

https://www.nxp.com/files-static/32bit/doc/ref_manual/e200z759CRM.pdf

Best regards,

Peter

在原帖中查看解决方案

0 项奖励
回复
4 回复数
942 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

You can use for example external tool like Trace device to see the execution of instructions.

Or you use performance monitor located on core:

petervlna_0-1675753979913.png

Please refer to the Chapter 8 Performance Monitor of core reference manual.

Best regards,

Peter

0 项奖励
回复
939 次查看
InhyeokHwang
Contributor III

Is the manual for MPC5777C? because I don't think I have the same reference manual as yours. Mine says System Integration Unit for chapter 8

0 项奖励
回复
935 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I was referring to core reference manual, not uC reference manual.

https://www.nxp.com/files-static/32bit/doc/ref_manual/e200z759CRM.pdf

Best regards,

Peter

0 项奖励
回复
928 次查看
InhyeokHwang
Contributor III

Thanks.

0 项奖励
回复