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

How to rate performance without hardware

Note: This was originally posted on 8th July 2012 at http://forums.arm.com

Hi,
I'm using DS-5 with armcc. Is there any way to rate code performance without running it on hardware e.g. with profiling? My typical development cycle looks like: make some small change in loop, check if that improves performance, if yes make further changes in same direction, if no go back to entry point and try something else. E.g. compiler for TI DSPs can generate assembly files with pipeline information, like iteration intervals for loops. I'm looking for something similar for arm, because for now --asm option allow me only to manually check assembly code, no straight information about performance. TI also offers cycle accurate simulator, but I guess there is no such thing for arm. If this matters, my current platform is Cortex-A9.
Thanks in advance for any suggestions.

regards
MS
Parents
  • For profiling the pure software it might be fruitful but it couldn't give you an exact picture of what happens in the real environment. Particularly on using cache with external memory. Anyhow you can make the comparative analysis over the existing code.

Reply
  • For profiling the pure software it might be fruitful but it couldn't give you an exact picture of what happens in the real environment. Particularly on using cache with external memory. Anyhow you can make the comparative analysis over the existing code.

Children
No data