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 measure clock cycles with the uVision simulator?

Hello, I have a few questions about the uVision simulator for the Cortex-M4 floating-point instructions.

1. Does the uVision simulator model Cortex-M4 floating-point instructions cycle-accurately? I tried the uVision v4.14.4 evaluation version. I got the Time (%) bars in the Performance Analyzer window, but the Timer (sec) was always 0. Besides, I didn't find a way to display cycle counts with the Performance Analyzer.

2. If the answer to 1 is 'yes', where can I find a step-by-step description to measure cycle counts?

3. If the answer to 1 is 'no', is there an alternate way to measure the cycle count for floating-point instructions?

Thanks in advance,
-Robby

Parents
  • I posed the same question to support@keil.com. Given the lack of response to your question, I suspect the answer is no, there's not a cycle-accurate simulator for the ARM tools. In the meantime I'm using the IAR tools, which do at least have a cycle counter, although I haven't a way to examine pipeline behavior with them.

    - Mike

Reply
  • I posed the same question to support@keil.com. Given the lack of response to your question, I suspect the answer is no, there's not a cycle-accurate simulator for the ARM tools. In the meantime I'm using the IAR tools, which do at least have a cycle counter, although I haven't a way to examine pipeline behavior with them.

    - Mike

Children