Performance Monitoring Counters in PowerQUICC III.

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

Performance Monitoring Counters in PowerQUICC III.

跳至解决方案
1,123 次查看
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 项奖励
1 解答
962 次查看
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 项奖励
2 回复数
963 次查看
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 项奖励
962 次查看
dijo
Contributor III

Thanks!

0 项奖励