When running within the Keil simulator, how can one find out the number of clock cycles which have occured since simulation start and/or the absolute 'real time' of the simulation? TIA
HI, I needed absolute cpu clock count; each individual 'module' of code is very simple and runs in a very short period of time. The performance and code coverage analyser will be very usefull however in the very near future! ;-)
Have you looked at the Performance Analyser?
Thanks - perfect! ;-)
The register window contains all this information. The simulator counts the states and calculates the time out of it based on the crystal frequency. The number of states can also be listed in the command window by typing states <ENTER>.
View all questions in Keil forum