Re: Measuring time in range of microseconds.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> <bewithsathish@xxxxxxxxx>  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/
>
>
>



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux