[<prev] [next>] [day] [month] [year] [list]
Message-ID: <d6c8ef150803010959t2f82e12q12c182e698d165fe@mail.gmail.com>
Date: Sat, 1 Mar 2008 18:59:48 +0100
From: "Bosko Radivojevic" <bosko.radivojevic@...il.com>
To: linux-kernel@...r.kernel.org
Subject: High resolution timers on AT91SAM926x
Hi!
Is there a way to enable high resolution timers on AT91SAM926x? The
best resolution I can get (kernel 2.6.23.11-rt14 with at91 patch from
maxim.org.za) is around 1ms. Is there any other way to get timers with
better resolution?
When I enable CONFIG_GENERIC_TIME and CONFIG_GENERIC_CLOCKEVENTS (as
prerequisites for CONFIG_HIGH_RES) I'm unable to compile at91 part of
kernel.
Is there any "unofficial" patch? I saw that in 2.6.24 high res is
supported for ARM, but AT91 still lacks support.
$ cat /proc/timer_list
Timer List Version: v0.3
HRTIMER_MAX_CLOCK_BASES: 2
now at 11995813000 nsecs
cpu: 0
clock 0:
.index: 0
.resolution: 999961 nsecs
.get_time: ktime_get_real
active timers:
clock 1:
.index: 1
.resolution: 999961 nsecs
.get_time: ktime_get
active timers:
#0: <c388de9c>, it_real_fn, S:01
# expires at 1207195374000 nsecs [in 1195199561000 nsecs]
Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists