I am debuging Freescale S08AW with Codewarrior V6.2.
But, Under Debug environment, I dont know the CPU exectuing time and cycle.
SO, anyone, Know about this,
How to view the Executing time of MCU, such as ,xxms , xxus .????
If you can test your code using full chip simulation, this does progressively count and display the number of CPU cycles. This can be very useful if you are attempting to reduce the number of cycles required by a function, by experimenting with different versions of the function.
As Lundin has indicated, external events would not be taken into account, whether within the function you are testing (perhaps as a wait loop), or the execution of ISR code within the function. However, regular timer interrupts (overflow or output compare), will be taken into account if the timer module uses the bus clock.
Since the timing is in CPU cycles, the corresponding amount of time will depend on the bus frequency you are using, but can be readily calculated. Divide the number of cycles by the bus frequency (in MHz), and you will have the time duration (in microseconds).
thanks your help.
Retrieving data ...