Hello guys,
Do you have any example profiling on MPC5777C using the e200z7 PMU?
From what I understand the flow should be something like this:
- enter supervisor mode
- freeze counters
- clear counters
- set up events (in my case Ref:1 - processor cycles)

- enable counters
- [code to be profiled]
- get values of counters
- get difference in cycles
I'd be great if you could direct me to an example of PMU.
Thanks in advance!
Razvan.