ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: ts-7x00 timing question

To:
Subject: Re: [ts-7000] Re: ts-7x00 timing question
From: Jim Jackson <>
Date: Sun, 28 Nov 2010 10:27:23 +0000 (GMT)


On Sat, 20 Nov 2010, craignied wrote:

> 
> --- In  David Smead <> wrote:
> >
> > I'm guessing that usleep has a more intimate connection to the scheduler,
> > but you can test that by toggling an I/O pin somewhere and monitoring that
> > with a oscilloscope.
> 
> Thanks!  usleep led me to a whole host of timer functions, e.g. 
> timer_gettime, which has the head scratching declaration
> 
> int timer_gettime(timer_t timerid, struct itimerspec *value)
> 
> (I'll have to figure out that structure's spec,) so I'll dink around with 
> this, and get back to the group if I remain persistently confused...

You don't say what kernel you are using - if it's a 2.4 kernel, all these
functions only have a resolution of 10millisecs - this is an FAQ.
If a 2.6 kernel you'll need hi res timers compiled in.




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU