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

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

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

404 Views
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

Labels (1)
0 Kudos
1 Reply

249 Views
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 Kudos