Measuring time in range of microseconds.
Sathishkumar Duraisamy
bewithsathish at gmail.com
Wed Dec 7 05:05:35 EST 2011
Hi
On Wed, Dec 7, 2011 at 3:10 PM, RKK <kulkarni.ravi4 at gmail.com> wrote:
> Hello Satish,
>
>
> On Wed, Dec 7, 2011 at 12:41 PM, Sathishkumar Duraisamy
> <bewithsathish at gmail.com> wrote:
>> Hi Fredrick,
>>
>> On Wed, Dec 7, 2011 at 8:12 AM, Fredrick <fjohnber at zoho.com> 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/
More information about the Kernelnewbies
mailing list