kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: bewithsathish@gmail.com (Sathishkumar Duraisamy)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Measuring time in range of microseconds.
Date: Wed, 7 Dec 2011 15:35:35 +0530	[thread overview]
Message-ID: <CANJvwR8SbugrXaZqGvoBNuWY5UXU2F-zTCg7U+Z9mqy4mxiDww@mail.gmail.com> (raw)
In-Reply-To: <CAM=x7SZw2AHdKbF0jhD4ZqjFKJUdqpo9Go6Mu2tPSTw3zqmRpQ@mail.gmail.com>

Hi

On Wed, Dec 7, 2011 at 3:10 PM, RKK <kulkarni.ravi4@gmail.com> wrote:
> Hello Satish,
>
>
> On Wed, Dec 7, 2011 at 12:41 PM, Sathishkumar Duraisamy
> <bewithsathish@gmail.com> wrote:
>> Hi Fredrick,
>>
>> On Wed, Dec 7, 2011 at 8:12 AM, Fredrick <fjohnber@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/

      reply	other threads:[~2011-12-07 10:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-06  8:47 Measuring time in range of microseconds Sathishkumar Duraisamy
2011-12-06 10:46 ` Peter Senna Tschudin
2011-12-06 11:06   ` Sathishkumar Duraisamy
2011-12-06 11:17     ` Peter Senna Tschudin
2011-12-07  2:42       ` Fredrick
2011-12-07  7:11         ` Sathishkumar Duraisamy
2011-12-07  9:40           ` RKK
2011-12-07 10:05             ` Sathishkumar Duraisamy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANJvwR8SbugrXaZqGvoBNuWY5UXU2F-zTCg7U+Z9mqy4mxiDww@mail.gmail.com \
    --to=bewithsathish@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).