I think if the specific ARM platform you are working supports a oneshot clock_device, you would get the high res timer support. You can check for clock_devices defined in your platform having feature - CLOCK_EVT_FEAT_ONESHOT. -Fredrick On 12/06/2011 03:17 AM, Peter Senna Tschudin wrote:
Hi Sathishkumar,
rdtsc is x86 specific... Sorry.
But there are other options.
Compares rdtsc with hpet: http://aufather.wordpress.com/2010/09/08/high-performance-time-measuremen-in...
Other reference about timers: http://the-b.org/Linux_timers
I'm not sure if HPET works on ARM.
[]'s
Peter
On Tue, Dec 6, 2011 at 9:06 AM, Sathishkumar Duraisamy <bewithsathish@gmail.com> wrote:
Hi Peter,
Thanks for rdtsc. But I looking to measure time inside Linux Kernel Module in ARM architecture.
-- Regards, Sathishkumar D http://flowersopenlab.weebly.com/