P1015 Performance Monitoring - is sample driver code available for enabling and displaying the Performance Monitoring data specifically for PCIe/

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

P1015 Performance Monitoring - is sample driver code available for enabling and displaying the Performance Monitoring data specifically for PCIe/

833件の閲覧回数
rhilderman
Contributor I

We are trying to get PCIe utilization using the performance monitoring capabilities on the P1015 processor (we are running VxWorks 6.9).  If sample code for enabling and displaying this data can be provided, that would be appreciated.

Thanks,

Randy

ラベル(1)
0 件の賞賛
返信
1 返信

678件の閲覧回数
LPP
NXP Employee
NXP Employee

You can make use of performance monitor hardware from scratch.

http://cache.freescale.com/files/32bit/doc/app_note/AN3636.pdf

The e500 performance monitor driver exists in the kernel. The core API is in arch/powerpc/perf/core-fsl-emb.c and e500 related stuff is in arch/powerpc/perf/e500-pmu.c.

Bare-board example in CodeWarrior PA:

<CodeWarrior>\PA\CodeWarrior_Examples\Bareboard_Examples\e500mcPerformanceMonitor_eabi

Have a great day,
Pavel

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

0 件の賞賛
返信