linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Sarin, Suseelan" <suseelan@gmail.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-rt-users@vger.kernel.org
Subject: Re: Calculating latency using high resolution timer
Date: Thu, 10 Jun 2010 11:43:54 +0530	[thread overview]
Message-ID: <AANLkTikQ5Arhc-msaILLa1oFPbTHbg7yXxSKp3F-T7cM@mail.gmail.com> (raw)
In-Reply-To: <alpine.LFD.2.00.1006092028280.2933@localhost.localdomain>

>> this. My doubt is, if the system is loaded to the extend that an RT
>> task can have considerable latency, can I trust the time read from the
>> high resolution timer of the system?
>
> Yes, it's accurate. cyclictest relies on that as well.
>
>> Also, with these measurements, I am seeing a ~5msec latency. Is there
>> a way I can exactly point out the reason for this latency?
>
> Tracing. See cyclictest.c for how that's done.

Thank you. I will check the cyclic test code and get back.

  reply	other threads:[~2010-06-10  6:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AANLkTikuWI08hHb2BdzicdEYKO4SdQlCL17gDQgqwrKz@mail.gmail.com>
2010-06-09 16:21 ` Calculating latency using high resolution timer Sarin, Suseelan
2010-06-09 18:30   ` Thomas Gleixner
2010-06-10  6:13     ` Sarin, Suseelan [this message]
     [not found]   ` <4C0FD3E4.9090304@gmail.com>
2010-06-10  6:11     ` Sarin, Suseelan

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=AANLkTikQ5Arhc-msaILLa1oFPbTHbg7yXxSKp3F-T7cM@mail.gmail.com \
    --to=suseelan@gmail.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /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).