lkml.org 
[lkml]   [2008]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: High resolution timers on AT91SAM926x
David,

I had CONFIG_ATMEL_TCLIB enabled, but not TCB_CLKSRC and
TCB_CLKSRC_BLOCK=0. With all those options, I finally have HRT
functionality. But, strange thing is that jitter of my little example
(get time, sleep 1ms, get time, show the difference) is around 250us.
Maybe this is normal for this architecture?

System is (as noted on rt.wik site) very slow with NO_HZ option enabled.

Thanks again!

On Mon, Mar 3, 2008 at 7:39 PM, David Brownell <david-b@pacbell.net> wrote:
> On Monday 03 March 2008, Bosko Radivojevic wrote:
> > thank you for the reply. But, I'm getting pretty strange behavior.
>
> Presumably you got different results when your Kconfig
> enabled a HRT/NO_HZ capable clockevent source, instead
> of just the PIT?
>
> CONFIG_ATMEL_TCLIB=y
>
>
> CONFIG_ATMEL_TCB_CLKSRC=y
> CONFIG_ATMEL_TCB_CLKSRC_BLOCK=0
>


\
 
 \ /
  Last update: 2008-03-03 22:45    [from the cache]
©2003-2011 Jasper Spaans