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

Execution time of code

Hello,

I'm using a C8051F330 and I need to time some code. My Performance Analyzer is greyed out and I can therefor not use it. I also saw this thread: http://www.keil.com/support/docs/971.htm which says there is a "secs" item in the registers window, but I do not see it. I'm using Keil uVision4.72.9.

Much appreciated

  • you will not get a real time from the performance analyzer, it will get mixed up on SILabs instruction timing vs 'plain vanilla' timing.

    use the C2, start a timer at the beginning of the code you want to check, set a breakpoint at the exit and read the timer