[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] execution time on avr butterfly?
From: |
Dave |
Subject: |
Re: [avr-gcc-list] execution time on avr butterfly? |
Date: |
Thu, 9 Feb 2006 09:58:29 -0800 (PST) |
Is there a way to do it in software? Thank you.
Dave
--- David Brown <address@hidden> wrote:
> > Hello,
> >
> > I'm writing a C program that will run on AVR
> > butterfly. I'd like to know how I can measure
> > execution time of my program. Could you please
> help me
> > with this? Thank you very much.
> >
> > Regards,
> >
> > Dave
> >
>
> Often the best way to measure execution time in
> embedded systems is to set a
> pin high when you start the relevant code, and low
> at the end, and connect
> an oscilliscope probe to the pin. This can be good
> for checking interrupt
> routine execution times too, especially if you've
> got a scope with nice
> triggering capabilities (trigger on a pulse longer
> than a given time, for
> example).
>
> mvh.,
>
> David
>
>
>
>
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
>
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com