KDS 3.0.0 debug to find runtime.

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

KDS 3.0.0 debug to find runtime.

跳至解决方案
1,345 次查看
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,204 次查看
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,205 次查看
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,204 次查看
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,204 次查看
josol
Contributor III

thank you very much

0 项奖励
回复
1,204 次查看
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 项奖励
回复