Measuring time in range of microseconds.

Peter Senna Tschudin peter.senna at gmail.com
Tue Dec 6 06:17:33 EST 2011


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-linux/

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 at 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/



-- 
Peter Senna Tschudin
peter.senna at gmail.com
gpg id: 48274C36



More information about the Kernelnewbies mailing list