Thread (8 messages) 8 messages, 4 authors, 2011-12-07

Measuring time in range of microseconds.

From: Fredrick <hidden>
Date: 2011-12-07 02:42:18

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-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
[off-list ref]  wrote:
quoted
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help