Program execution time calculation

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Program execution time calculation

ソリューションへジャンプ
929件の閲覧回数
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 解決策
707件の閲覧回数
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 返答(返信)
707件の閲覧回数
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 件の賞賛
708件の閲覧回数
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 件の賞賛