kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Measuring time in range of microseconds.
@ 2011-12-06  8:47 Sathishkumar Duraisamy
  2011-12-06 10:46 ` Peter Senna Tschudin
  0 siblings, 1 reply; 8+ messages in thread
From: Sathishkumar Duraisamy @ 2011-12-06  8:47 UTC (permalink / raw)
  To: kernelnewbies

Hi,

I am writing a module to measure time taken between two events. I have
to measure time in microseconds. Some articles says about High
resolution timers. As per the article
http://elinux.org/High_Resolution_Timers, I read cat /proc/timer_list
which says 10000000ns as resolution ( which is 10ms). I think with
this resolution I cannot measure in the range of microseconds. I
couldn't able to find support for HR timer in kernel menuconfig.

I am using kernel 2.6.36.2. Can you please help me to, "How do enable
this timer. Or is there any other means to measure time or simply I
have to use the timer hardware directly?"

-- 
With Thanks,
Sathishkumar D
http://flowersopenlab.weebly.com/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-12-07 10:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-06  8:47 Measuring time in range of microseconds Sathishkumar Duraisamy
2011-12-06 10:46 ` Peter Senna Tschudin
2011-12-06 11:06   ` Sathishkumar Duraisamy
2011-12-06 11:17     ` Peter Senna Tschudin
2011-12-07  2:42       ` Fredrick
2011-12-07  7:11         ` Sathishkumar Duraisamy
2011-12-07  9:40           ` RKK
2011-12-07 10:05             ` Sathishkumar Duraisamy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).