Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Cycle count in cortex m3
Jump...
Cancel
Locked
Locked
Replies
8 replies
Subscribers
118 subscribers
Views
7354 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Cycle count in cortex m3
devipriya karlapudi
over 12 years ago
Note: This was originally posted on 10th December 2009 at
http://forums.arm.com
Hi all,
I am new to cortex m3...
For my application I need to calculate the number of cycles for a particular function....
I set the debug options as high optimization level and optimize for time....
How can I calculate the MIPS/cycles manually for a particular function.
Please suggest me a solution...
Thanks in advance.
Krish.
Parents
Marcus Harnisch
over 12 years ago
Note: This was originally posted on 10th December 2009 at
http://forums.arm.com
If so how to start with realview debugger?(any settings).
The ISSM for Cortex-M3 is semi-accurate. It models an ideal memory sub-system. Not sure about the pipeline accuracy, but I guess CM3 is simple enough.
If you are really concerned about accuracy, get a cheap eval board and read the cycle count register in the DWT unit.
Regards
Marcus
Cancel
Vote up
0
Vote down
Cancel
Reply
Marcus Harnisch
over 12 years ago
Note: This was originally posted on 10th December 2009 at
http://forums.arm.com
If so how to start with realview debugger?(any settings).
The ISSM for Cortex-M3 is semi-accurate. It models an ideal memory sub-system. Not sure about the pipeline accuracy, but I guess CM3 is simple enough.
If you are really concerned about accuracy, get a cheap eval board and read the cycle count register in the DWT unit.
Regards
Marcus
Cancel
Vote up
0
Vote down
Cancel
Children
No data