11-24-2016 12:06 AM
I'm using a zedboard which uses xilinx Zynq®-7000 SOC and having a dual core cortex-A9 processor.
So what I am interested in is running some benchmark C programs on top of the cortex-A9 processor and observe information like cycle count, branch mispredictions, cache hit/miss count etc.
For the purpose I need to view the performance counters. But I'm running the applications bare metal without an OS.
Can anyone explain how can I view above details in xilinx SDK 2015.3 ?
I have followed this tutorial to build a project on vivado 2015.3, and it uses AXI performance monitor and some traffic generator IP cores. At the end they have given a code snippet to be run on the processor using SDK.
But that doesn't show the information I need such as branch misprediction count and all.
Can someone suggest me a code so that I can view above details in bare metal?
Here is the example_code given by xilinx.
Or else any other method such as using ARM's DS-5 would be welcome.
11-25-2016 12:47 PM
11-27-2016 10:25 PM
But in SDK 2015.3 I dont find an option called 'Performance Counters' under show view. This version doesn't have that option?
Or else is there other option I can use in SDK 2015.3?
On the other hand can you please give me the instructions to compile and run the code in 2nd link. I'm quite new to this.
A tutorial would also be fine.