Re: Measuring time in range of microseconds.

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

 



Hi

On Wed, Dec 7, 2011 at 3:10 PM, RKK <kulkarni.ravi4@xxxxxxxxx> wrote:
> Hello Satish,
>
>
> On Wed, Dec 7, 2011 at 12:41 PM, Sathishkumar Duraisamy
> <bewithsathish@xxxxxxxxx> wrote:
>> Hi Fredrick,
>>
>> On Wed, Dec 7, 2011 at 8:12 AM, Fredrick <fjohnber@xxxxxxxx> wrote:
>>> 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.
>>
> My guess is that u want to measure the time taken to execute a
> function in microseconds.
> something like
> start_time
> YOUR_FUNCTION
> end_time

Sorry. I want to measure external pulse on a GPIO pin.

-- 
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