Performance Monitoring Counters in PowerQUICC III.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Performance Monitoring Counters in PowerQUICC III.

ソリューションへジャンプ
1,822件の閲覧回数
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 解決策
1,661件の閲覧回数
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 返答(返信)
1,662件の閲覧回数
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 件の賞賛
返信
1,661件の閲覧回数
dijo
Contributor III

Thanks!

0 件の賞賛
返信