ts-7000
[Top] [All Lists]

Re: [ts-7000] sub 10ms sleeps/timers in Linu 2.6.29

To:
Subject: Re: [ts-7000] sub 10ms sleeps/timers in Linu 2.6.29
From: Razvan-Ionut Stoian <>
Date: Mon, 20 Sep 2010 08:04:56 -0700 (PDT)


You should apply the real time patches (kernel.org), too, since you might consider using the nanosleep()  functions found in the "rt" library. (-lrt).

--- On Mon, 9/20/10, Razvan-Ionut Stoian <> wrote:

From: Razvan-Ionut Stoian <>
Subject: Re: [ts-7000] sub 10ms sleeps/timers in Linu 2.6.29
To:
Date: Monday, September 20, 2010, 10:59 AM

 

You should apply the "clockevents"  patch to your kernel sources. You can find it in the file section.

--- On Mon, 9/20/10, mailorder_va <> wrote:

From: mailorder_va <>
Subject: [ts-7000] sub 10ms sleeps/timers in Linu 2.6.29
To:
Date: Monday, September 20, 2010, 10:32 AM

 

I am trying to get sub 10ms time resolution (1 ms or less needed). I compiled 2.6.29 and was able to get it to run on the ts7200. I wrote a simple program which does a usleep(100) for 1000 times and it takes 10 seconds to run (ie usleep resolution is 10ms). I searched and found mention of CONFIG_HIGH_RES_TIMERS - this variable does not seem to be defined in the .config file. The CLOCK_HZ in the .config file seems to be set at 100 and I cannot seem to change it (ie I can change it but Kconfig sets it back to 100). I am probably missing something obvious - just do not know what.

Any help would be appreciated.

Thanks





__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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