Skip to search.
rabbit-semi · Group for Rabbit C-programmable micros

Group Information

  • Members: 3907
  • Category: Microcontrollers
  • Founded: Oct 3, 2000
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

  Messages Help
Advanced
Mismatch in the Run times   Message List  
Reply Message #41408 of 41585 |
Hello all,

I am computing the run time for a function in my program in Dynamic C
using two ways:
1) Calculating the run time for that function using the MS_TIMER.
2) Computing the run time using the cycle count from diassembled code for that
function and my rabbit processor clock rate.

But I never get the matching run times. For example, the reported time using
MS_TIMER was 500 msec and my calculated run time was only 56msec.

The DEBUG mode is ON and wait states are not included
How is this possible? Where am I missing so much? Can anyone please help to
solve it?





Tue Feb 14, 2012 7:32 pm

swathi835
Offline Offline
Send Email Send Email

Message #41408 of 41585 |
Expand Messages Author Sort by Date

Hello all, I am computing the run time for a function in my program in Dynamic C using two ways: 1) Calculating the run time for that function using the...
swathi835 Offline Send Email Feb 14, 2012
7:32 pm

In DEBUG mode, your clock calculations are missing a lot of code which is executed to support the debugger....
George G
ggeorgiev2004 Offline Send Email
Feb 25, 2012
12:47 am
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help