From: fjohnber@zoho.com (Fredrick)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Measuring time in range of microseconds.
Date: Tue, 06 Dec 2011 18:42:18 -0800 [thread overview]
Message-ID: <4EDED28A.1010009@zoho.com> (raw)
In-Reply-To: <CA+MoWDrTmXyYn7AhHb_JoGDmo6N=y+wnqKQPcuZsE+UO_hkmjg@mail.gmail.com>
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.
-Fredrick
On 12/06/2011 03:17 AM, Peter Senna Tschudin wrote:
> Hi Sathishkumar,
>
> rdtsc is x86 specific... Sorry.
>
> But there are other options.
>
> Compares rdtsc with hpet:
> http://aufather.wordpress.com/2010/09/08/high-performance-time-measuremen-in-linux/
>
> Other reference about timers:
> http://the-b.org/Linux_timers
>
> I'm not sure if HPET works on ARM.
>
> []'s
>
> Peter
>
> On Tue, Dec 6, 2011 at 9:06 AM, Sathishkumar Duraisamy
> <bewithsathish@gmail.com> wrote:
>> Hi Peter,
>>
>> Thanks for rdtsc. But I looking to measure time inside Linux Kernel
>> Module in ARM architecture.
>>
>> --
>> Regards,
>> Sathishkumar D
>> http://flowersopenlab.weebly.com/
>
>
>
next prev parent reply other threads:[~2011-12-07 2:42 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 [this message]
2011-12-07 7:11 ` Sathishkumar Duraisamy
2011-12-07 9:40 ` RKK
2011-12-07 10:05 ` Sathishkumar Duraisamy
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=4EDED28A.1010009@zoho.com \
--to=fjohnber@zoho.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).