Timing
Posted by
Dado Sutter on
URL: http://elua-development.15.s1.nabble.com/Timing-tp2422112.html
Hello,
On Wed, Feb 18, 2009 at 10:59, James Snyder <jbsnyder at fanplastic.org> wrote:
>
> > On Wed, Feb 18, 2009 at 02:19, James Snyder <jbsnyder at fanplastic.org>wrote:
> >
>>
>> So, one of the things I've been doing recently is tracking timing data for
>> adcscope.lua when running it. I've found certain things that increase or
>> decrease the amount of time spent getting samples, but I hadn't actually
>> checked what the bare minimum time would be for a dry loop like the
>> following:
>> >
>> > term.clrscr()
>> >
>> > while 1 do
>> > t1 = tmr.start(0)
>> > t2 = tmr.read(0)
>> > dtime = tmr.diff(0,t2,t1)
>> > term.gotoxy(1,1)
>> > term.putstr(string.format("Time (us): %06d",dtime))
>> > end
>> >
>> > For LM3S6965, I get 79 us. Is this correct?
>
>
79us exactly in my EK-LM3S8962 too.
(And I've figured out that you have disabled XMODEM Xfer on your build :)
Abra?osssssssssss
Dado
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
https://lists.berlios.de/pipermail/elua-dev/attachments/20090218/a8454ee3/attachment.html