Program execution time calculation

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

Program execution time calculation

Jump to solution
861 Views
binukannur
Contributor III

Hai,

      Is it possible to know the program execution time in between two breakpoints in Code warrior?

 

In my case, there is a bit of code as  different functions in ISR. To avoid the overhead of ISR I want to find execution speed of these functions.

Here  RTC ISR, and its time is 600ms.

Labels (1)
0 Kudos
1 Solution
639 Views
binukannur
Contributor III

Hai,

    The problem solved with Oscilloscope.

I set a GPIO pin on starting point and clear on end .

Measured the time interval between set and clear

View solution in original post

0 Kudos
2 Replies
639 Views
TICS_Fiona
NXP Employee
NXP Employee

Hello Binu

What is the part number of your target MCU?

Eclipse CodeWarrior v10.x supports the feature for profile, for details, please refer to the help document:

C:\Freescale\CW MCU v10.6.4\MCU\Help\PDF\Profiling and Analysis Users Guide.pdf

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
640 Views
binukannur
Contributor III

Hai,

    The problem solved with Oscilloscope.

I set a GPIO pin on starting point and clear on end .

Measured the time interval between set and clear

0 Kudos