[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] eeprom usage - Measuring duration of function calls

From: Jamie Morken
Subject: Re: [avr-gcc-list] eeprom usage - Measuring duration of function calls
Date: Thu, 31 Oct 2002 14:22:28 -0800


>An easy way to measure the duration/length of a function call is to use AVR Studio.  Set the clock speed correctly and then, using the View->Processor window combined with appropriately placed breakpoints, you can use the Stopwatch and cycle counter to measure length.

>There are a few limitations with the implementation of some eeprom and SPM type delays etc but unless you're doing significant eeprom work, this usually gives a reliable indication of runtimes.
I like AVR Studio but since my projects have been over 1000 lines or so I have got errors when trying to load the coff files into AVR Studio:
"unable to open sourcefile"  "error in coff file"
I haven't figured out the difference between a working coff and a non-working one yet!  Anyone else have this error?
Jamie Morken

reply via email to

[Prev in Thread] Current Thread [Next in Thread]