Displaying execution time in LPCXpresso IDE?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Displaying execution time in LPCXpresso IDE?

835 Views
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 Kudos
Reply
2 Replies

784 Views
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 Kudos
Reply

784 Views
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 Kudos
Reply