How do I calculate time for certain functions in MPC5777C?

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I calculate time for certain functions in MPC5777C?

Jump to solution
180 Views
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?

Tags (1)
0 Kudos
1 Solution
157 Views
petervlna
NXP Employee
NXP Employee

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

View solution in original post

0 Kudos
4 Replies
165 Views
petervlna
NXP Employee
NXP Employee

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 Kudos
162 Views
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 Kudos
158 Views
petervlna
NXP Employee
NXP Employee

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 Kudos
151 Views
InhyeokHwang
Contributor III

Thanks.

0 Kudos