Performance Monitoring Counters in PowerQUICC III.

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

Performance Monitoring Counters in PowerQUICC III.

Jump to solution
1,103 Views
dijo
Contributor III

How do we calculate the EVT number corresponding to the different events. Say - C2:58, Ref:23, etc. in the Performance Monitoring Events Table?

Cycles a read is taking in UPM C2:58

Cycles a read is taking in SDRAM C3:57

Cycles a write is taking in GPCM C4:56

i.e. How to convert C2:58 or Ref:23 to PMLCA[EVENT]?

Thanks

Dijo

0 Kudos
1 Solution
942 Views
LPP
NXP Employee
NXP Employee

Please refer to Application note AN3636 "Using the Core and System Performance Monitors"

https://www.freescale.com/webapp/Download?colCode=AN3636

C2:58  -> PMLCa2[EVENT]=58+64=122, PMLCA2=0x007A0000

C3:57  -> PMLCa3[EVENT]=57+64=121, PMLCA3=0x00790000

C4:56  -> PMLCa4[EVENT]=56+64=120, PMLCA4=0x00780000

Ref:23 -> PMLCa5[EVENT]=23, PMLCA5=0x00170000

Have a great day,
Pavel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
943 Views
LPP
NXP Employee
NXP Employee

Please refer to Application note AN3636 "Using the Core and System Performance Monitors"

https://www.freescale.com/webapp/Download?colCode=AN3636

C2:58  -> PMLCa2[EVENT]=58+64=122, PMLCA2=0x007A0000

C3:57  -> PMLCa3[EVENT]=57+64=121, PMLCA3=0x00790000

C4:56  -> PMLCa4[EVENT]=56+64=120, PMLCA4=0x00780000

Ref:23 -> PMLCa5[EVENT]=23, PMLCA5=0x00170000

Have a great day,
Pavel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
942 Views
dijo
Contributor III

Thanks!

0 Kudos