I select the Atmel 87F51RC with 24.0M clock. How can I get the the running time of my programme by using the keil IDE? If i can get the running time of the programme by keil, is it equal to the the real running time on the Atmel 87F51RC I selected? thanks for help
is it equal to the the real running time on the Atmel 87F51RC I selected? If you just had simple program which runs "straight through" - without interrupts or anything - then, yes! But if you have interrupts (as most embedded systems do) or any other external factors which would affect the run time (eg, slow memory; unknown wait times for peripherals; execution paths dependent on external states/events) then you'd need to do some sort of statistical model to get realistic results from the Performance Analyser. Or, you can just look at the Secs displayed in the Registers window and see how long the whole thing took. That's much easier and you don't have to do ANY math at all! :-) Jon