Program execution time calculation

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Program execution time calculation

跳至解决方案
927 次查看
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.

标签 (1)
0 项奖励
1 解答
705 次查看
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 项奖励
2 回复数
705 次查看
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 项奖励
706 次查看
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 项奖励