Displaying execution time in LPCXpresso IDE?

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

Displaying execution time in LPCXpresso IDE?

836件の閲覧回数
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 返答(返信)

785件の閲覧回数
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 件の賞賛
返信

785件の閲覧回数
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 件の賞賛
返信