Displaying execution time in LPCXpresso IDE?

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

Displaying execution time in LPCXpresso IDE?

840 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by embedsoft on Fri May 14 04:07:56 MST 2010
Hi all,

I recently received the LPCXpresso 1343 board. Before that I downloaded the LPCXpresso IDE.
I wonder if it possible to show the elapsed execution time in the Xpresso IDE during debugging?

Can anyone help me with this issue please,

Thanks!
0 项奖励
回复
2 回复数

789 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by embedsoft on Fri May 14 06:51:36 MST 2010
Thanks CodeRedSupport for the quick answer!

embedsoft
0 项奖励
回复

789 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri May 14 05:45:15 MST 2010
Hi,

In the Core Registers window, you will see 2 registers:
Cycle
- this is the total number of cycles executed by the processor (since Reset). If you know the clock speed, you can simply calculate the execution time.
Cycle Delta
- this is similar to Cycle, but is the number of cycles executed since the last debug event (e.g. breakpoint). Again, it is simple to calculate the executaion time from that.

Note that these registers are only available in Cortex-M3 processors (LPC17, LPC13)
0 项奖励
回复