From mboxrd@z Thu Jan 1 00:00:00 1970 From: fjohnber@zoho.com (Fredrick) Date: Tue, 06 Dec 2011 18:42:18 -0800 Subject: Measuring time in range of microseconds. In-Reply-To: References: Message-ID: <4EDED28A.1010009@zoho.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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 > 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/ > > >