Re: High resolution timers on AT91SAM926x

From: Bosko Radivojevic
Date: Mon Mar 03 2008 - 16:42:51 EST


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@xxxxxxxxxxx> 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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/