Measuring time in range of microseconds.

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

 



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/

_______________________________________________
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