time spend between two break points in debug process

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

time spend between two break points in debug process

735 Views
andresfelipecas
Contributor II

hi, I need to know the time spend in a piece of code, I suppose there is a tool to know the time between two break points in debug process. Does anybody know something like that in codewarrior 10?

Labels (1)
0 Kudos
1 Reply

602 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Andres:

What is the device you are using?

I know that this was possible with the S08 Full Chip Simulator, but other than that I think there is not a tool.

There are 2 common approaches to measure time:

1- Toggle an external pin and measure the time with the oscilloscope.

2- Run a timer module and verify the count difference between breakpoints. Then knowing the clock source of the timer (e.g. bus clock) you will know the time.


Regards!
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------