All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: xenomai-core <xenomai@xenomai.org>
Cc: xenomai@xenomai.org, Rudolf Marek <rudolf.marek@domain.hid>
Subject: [Xenomai-core] Re: [Xenomai-help] negative values of latency/klatency
Date: Tue, 28 Feb 2006 15:13:01 +0100	[thread overview]
Message-ID: <44045A6D.7000508@domain.hid> (raw)
In-Reply-To: <440442FC.8090100@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 2264 bytes --]

Jan Kiszka wrote:
> Rudolf Marek wrote:
>> ...
>> RTT|  00:00:01
>> RTH|----klat min|----klat avg|----klat max| overrun|---klat best|--klat worst
>> RTD|        4767|        4929|       15191|       0|        4767|       15191
>> RTD|        4767|        4808|        8282|       0|        4767|       15191
>> RTD|        4767|        4808|        8080|       0|        4767|       15191
>> RTD|        4808|        4808|        7838|       0|        4767|       15191
>> RTD|        4767|        4808|        7272|       0|        4767|       15191
>> RTT|  00:00:06
>> RTH|----klat min|----klat avg|----klat max| overrun|---klat best|--klat worst
>> RTD|        4808|        4808|        7555|       0|        4767|       15191
>> RTD|        4767|        4808|        7959|       0|        4767|       15191
>> RTD|        4767|        4808|        7393|       0|        4767|       15191
>> RTD|        4808|        4808|        7191|       0|        4767|       15191
>> RTD|        4767|        4808|        7313|       0|        4767|       15191
>>
>> Is this a bug or feature please? Can someone throw the light?
>> Good would be to print the units to the numbers too (ns).
>>
> 
> That was likely a layout question of the latency tool's output. We could
> simply dump something like "All latencies in nanoseconds" during
> start-up. Would this be more helpful?
> 

The output of latency is indeed inconsistent. Histogram and stats are
printed in microseconds, intermediate and overall latencies go out as
nanoseconds. Anyone any objections to switch to micros with 3 digits
after the decimal point? Patch is ready to be applied.

== Sampling period: 150 us
== Test mode: in-kernel timer handler
== All results in microseconds
warming up...
RTT|  00:00:01  (in-kernel timer handler, 150 us period)
RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat
worst
RTD|       8.935|      13.824|      39.951|       0|       8.935|
39.951
RTD|       8.998|      14.619|      36.867|       0|       8.935|
39.951
RTD|       8.576|      14.604|      37.417|       0|       8.576|
39.951
RTD|       3.018|      14.623|      40.466|       0|       3.018|
40.466
[grabbed on a low-end board]

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  parent reply	other threads:[~2006-02-28 14:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-27 16:12 [Xenomai-help] negative values of latency/klatency Rudolf Marek
2006-02-28 12:33 ` Jan Kiszka
2006-02-28 12:52   ` Philippe Gerum
2006-02-28 13:02     ` Philippe Gerum
2006-02-28 14:13   ` Jan Kiszka [this message]
2006-02-28 15:22     ` [Xenomai-core] " Philippe Gerum

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=44045A6D.7000508@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=rudolf.marek@domain.hid \
    --cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.