Instruction cycle and program space.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-04-19 10:12 PM
Posted on April 20, 2005 at 07:12
Instruction cycle and program space.
Labels:
- Labels:
-
Legacy Products
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-04-18 5:18 PM
Posted on April 19, 2005 at 02:18
Hi all,
1. What options are available to check the size of my program code? 2.Since my application is time-critical, how can i measure the time taken for a function to execute? Also, what is the period for one instruction cycle? 3.How many instruction cycles will a C statement take, for example: TIM1->OCBR += 0x9C40; Warm regards, TH OngOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-04-19 2:11 PM
Posted on April 19, 2005 at 23:11
Hi,
If then, how can I measure the time taken by a function if my appliction is time-critical? Rgrds, TH OngOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-04-19 10:12 PM
Posted on April 20, 2005 at 07:12
Hi ongth60,
As RISC said is not easy to know the execution time for ARM instructions, so if you want to measure the time taken by a function, you can use the TIMER(at the beginning and the end of the section code) to do it. Regards, Hich :o