Thread (8 messages) 8 messages, 4 authors, 2011-12-07

Measuring time in range of microseconds.

From: Sathishkumar Duraisamy <hidden>
Date: 2011-12-07 10:05:35

Hi

On Wed, Dec 7, 2011 at 3:10 PM, RKK [off-list ref] wrote:
Hello Satish,


On Wed, Dec 7, 2011 at 12:41 PM, Sathishkumar Duraisamy
[off-list ref] wrote:
quoted
Hi Fredrick,

On Wed, Dec 7, 2011 at 8:12 AM, Fredrick [off-list ref] wrote:
quoted
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help