View CPU cycle count while debugging ?

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

View CPU cycle count while debugging ?

跳至解决方案
751 次查看
geoff_s
Contributor III

Is there a way to see the cpu cycle counter while debugging with Kinetis Design Studio ?  I wanting to quickly check the number of cycles required for some instructions in my code, without resorting to techniques like systick or toggling external pins.  This was something I vaguely recall I could do in CodeWarrier.

标签 (1)
0 项奖励
回复
1 解答
523 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Geoff,

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

I may suggest you refer these two thread for workaround:

KDS trace capabilities?

Kinetis design studio Trace and Profile

can this help you?


Have a great day,
Jennie Zhang

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

在原帖中查看解决方案

0 项奖励
回复
1 回复
524 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Geoff,

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

I may suggest you refer these two thread for workaround:

KDS trace capabilities?

Kinetis design studio Trace and Profile

can this help you?


Have a great day,
Jennie Zhang

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

0 项奖励
回复