KDS 3.0.0 debug to find runtime.

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

KDS 3.0.0 debug to find runtime.

ソリューションへジャンプ
1,326件の閲覧回数
josol
Contributor III

Hi. I want to get some advises.

I am using K64F with KDS ver 3.0.0  and making using of GDB OpenOCD debugging

 

I want to know that it is possible to measure runtimes of code prosecution

because i need a real time to execute some codes.

 

Thank you.

ラベル(1)
0 件の賞賛
返信
1 解決策
1,185件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi,

CodeWarrior comes with a built-in trace viewer and support for hardware trace while something like this is not present in KDS.

I recommend you check if gcov can help. see Erich's article:

Code Coverage with gcov, launchpad tools and Eclipse Kinetis Design Studio V3.0.0 | MCU on Eclipse

can this help you?


Have a great day,
Zhang Jun

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

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,186件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi,

CodeWarrior comes with a built-in trace viewer and support for hardware trace while something like this is not present in KDS.

I recommend you check if gcov can help. see Erich's article:

Code Coverage with gcov, launchpad tools and Eclipse Kinetis Design Studio V3.0.0 | MCU on Eclipse

can this help you?


Have a great day,
Zhang Jun

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

0 件の賞賛
返信
1,185件の閲覧回数
BlackNight
NXP Employee
NXP Employee

For runtime (time spent) you can have a look at using gprof:

Tutorial: Using GNU Profiling (gprof) with ARM Cortex-M | MCU on Eclipse

Erich

0 件の賞賛
返信
1,185件の閲覧回数
josol
Contributor III

thank you very much

0 件の賞賛
返信
1,185件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

you are welcome!


Have a great day,
Zhang Jun

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

0 件の賞賛
返信