We are using ARM development studio for Cortex-M4F. We have created a project with FVP support. we want to see how much cycles are taken for a small piece of code. Could any one please let us know how to use a cycle counter here.
You should be able to use the same code as shown here:https://developer.arm.com/documentation/ka001406/
Note that the FVP is not cycle accurate, and so do not use this for exact results, but could be a useful first order approximation.