* Re: [Xenomai] /proc/xenomai/sched
@ 2014-10-21 20:29 Steve Hartmann
2014-10-22 5:17 ` Gilles Chanteperdrix
0 siblings, 1 reply; 6+ messages in thread
From: Steve Hartmann @ 2014-10-21 20:29 UTC (permalink / raw)
To: Xenomai
On 10/21/14 3:11 PM, "Steve Hartmann" <shartmann@cnt.canon.com> wrote:
>Can someone please point me in the direction of a writeup of how to
>interpret /proc/xenomai/sched? I have searched around, but cannot find
>what I am looking for. Specifically, I want to know what it means when I
>see a "D" in the "STAT" column, and what the number in the "TIMEOUT"
>column means.
>
>I did find one post that said the "D" means "Delayed (without any other
>wait condition).". Maybe I'm just dense, but I'm not positive on what
>that means. I think it might mean that the task should be running, but
>it is delayed because it could not be scheduled because of some reason
>perhaps another higher priority task is bumping it? Or am I way off base?
>
>Also, in xenomai 2.4.7, the TIMEOUT column is expressed in a number with
>no units; what is the unit?
>
>Thanks,
>
>Steven
>_______________________________________________
>Xenomai mailing list
>Xenomai@xenomai.org
>http://www.xenomai.org/mailman/listinfo/xenomai
So one other observation Š the tasks which seem to very often show a "D"
status, are periodic tasks. Perhaps this is just a state where it is
simply waiting on nothing other than time to pass before it gets scheduled
to run?
Thanks again,
Steven
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Xenomai] /proc/xenomai/sched
2014-10-21 20:29 [Xenomai] /proc/xenomai/sched Steve Hartmann
@ 2014-10-22 5:17 ` Gilles Chanteperdrix
2014-10-22 11:17 ` Steve Hartmann
0 siblings, 1 reply; 6+ messages in thread
From: Gilles Chanteperdrix @ 2014-10-22 5:17 UTC (permalink / raw)
To: Steve Hartmann; +Cc: Xenomai
On Tue, Oct 21, 2014 at 08:29:26PM +0000, Steve Hartmann wrote:
>
>
> On 10/21/14 3:11 PM, "Steve Hartmann" <shartmann@cnt.canon.com> wrote:
>
> >Can someone please point me in the direction of a writeup of how to
> >interpret /proc/xenomai/sched? I have searched around, but cannot find
> >what I am looking for. Specifically, I want to know what it means when I
> >see a "D" in the "STAT" column, and what the number in the "TIMEOUT"
> >column means.
> >
> >I did find one post that said the "D" means "Delayed (without any other
> >wait condition).". Maybe I'm just dense, but I'm not positive on what
> >that means. I think it might mean that the task should be running, but
> >it is delayed because it could not be scheduled because of some reason
> >perhaps another higher priority task is bumping it? Or am I way off base?
> >
> >Also, in xenomai 2.4.7, the TIMEOUT column is expressed in a number with
> >no units; what is the unit?
Probably nanoseconds. Would need to check the sources to see that.
>
>
> So one other observation Š the tasks which seem to very often show a "D"
> status, are periodic tasks. Perhaps this is just a state where it is
> simply waiting on nothing other than time to pass before it gets scheduled
> to run?
"Delayed" means that the task voluntarily suspended and waiting for a timer
to wake it up. And yes, rt_task_wait_period/pthread_wait_period_np
do that, as do rt_task_sleep/nanosleep.
--
Gilles.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Xenomai] /proc/xenomai/sched
2014-10-22 5:17 ` Gilles Chanteperdrix
@ 2014-10-22 11:17 ` Steve Hartmann
2014-10-22 15:38 ` Gilles Chanteperdrix
0 siblings, 1 reply; 6+ messages in thread
From: Steve Hartmann @ 2014-10-22 11:17 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: Xenomai
On 10/22/14 12:17 AM, "Gilles Chanteperdrix"
<gilles.chanteperdrix@xenomai.org> wrote:
>On Tue, Oct 21, 2014 at 08:29:26PM +0000, Steve Hartmann wrote:
>>
>>
>> On 10/21/14 3:11 PM, "Steve Hartmann" <shartmann@cnt.canon.com> wrote:
>>
>> >Can someone please point me in the direction of a writeup of how to
>> >interpret /proc/xenomai/sched? I have searched around, but cannot find
>> >what I am looking for. Specifically, I want to know what it means
>>when I
>> >see a "D" in the "STAT" column, and what the number in the "TIMEOUT"
>> >column means.
>> >
>> >I did find one post that said the "D" means "Delayed (without any other
>> >wait condition).". Maybe I'm just dense, but I'm not positive on what
>> >that means. I think it might mean that the task should be running, but
>> >it is delayed because it could not be scheduled because of some reason
>> >perhaps another higher priority task is bumping it? Or am I way off
>>base?
>> >
>> >Also, in xenomai 2.4.7, the TIMEOUT column is expressed in a number
>>with
>> >no units; what is the unit?
>
>Probably nanoseconds. Would need to check the sources to see that.
Thanks of the reply Gilles! Do you know what it is that the "TIMEOUT"
columns means? I.E. What is it measuring?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Xenomai] /proc/xenomai/sched
2014-10-22 11:17 ` Steve Hartmann
@ 2014-10-22 15:38 ` Gilles Chanteperdrix
2014-10-24 13:46 ` [Xenomai] [Analogy] - new feature: software calibration NI-M Jorge Ramirez Ortiz
0 siblings, 1 reply; 6+ messages in thread
From: Gilles Chanteperdrix @ 2014-10-22 15:38 UTC (permalink / raw)
To: Steve Hartmann; +Cc: Xenomai
On 10/22/2014 01:17 PM, Steve Hartmann wrote:
>
>
> On 10/22/14 12:17 AM, "Gilles Chanteperdrix"
> <gilles.chanteperdrix@xenomai.org> wrote:
>
>> On Tue, Oct 21, 2014 at 08:29:26PM +0000, Steve Hartmann wrote:
>>>
>>>
>>> On 10/21/14 3:11 PM, "Steve Hartmann" <shartmann@cnt.canon.com> wrote:
>>>
>>>> Can someone please point me in the direction of a writeup of how to
>>>> interpret /proc/xenomai/sched? I have searched around, but cannot find
>>>> what I am looking for. Specifically, I want to know what it means
>>> when I
>>>> see a "D" in the "STAT" column, and what the number in the "TIMEOUT"
>>>> column means.
>>>>
>>>> I did find one post that said the "D" means "Delayed (without any other
>>>> wait condition).". Maybe I'm just dense, but I'm not positive on what
>>>> that means. I think it might mean that the task should be running, but
>>>> it is delayed because it could not be scheduled because of some reason
>>>> perhaps another higher priority task is bumping it? Or am I way off
>>> base?
>>>>
>>>> Also, in xenomai 2.4.7, the TIMEOUT column is expressed in a number
>>> with
>>>> no units; what is the unit?
>>
>> Probably nanoseconds. Would need to check the sources to see that.
>
> Thanks of the reply Gilles! Do you know what it is that the "TIMEOUT"
> columns means? I.E. What is it measuring?
The time remaining before the timer expiration date.
--
Gilles.
^ permalink raw reply [flat|nested] 6+ messages in thread* [Xenomai] [Analogy] - new feature: software calibration NI-M
2014-10-22 15:38 ` Gilles Chanteperdrix
@ 2014-10-24 13:46 ` Jorge Ramirez Ortiz
0 siblings, 0 replies; 6+ messages in thread
From: Jorge Ramirez Ortiz @ 2014-10-24 13:46 UTC (permalink / raw)
To: xenomai
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
All,
I have just delivered a software calibration feature for the NI M family of
acquisition cards
"pci-6220", "pci-6221", "pci-6221_37pin", "pci-6224", "pci-6225",
"pci-6229", "pci-6250", "pci-6251", "pci-6254", "pci-6259", "pcie-6259",
"pci-6280", "pci-6281", "pxi-6281", "pci-6284", "pci-6289"
Usage of the calibration tool requires:
1. to use the analogy_calibrate utility to generate a calibration file for your board.
$ analogy_calibrate --device /dev/analogy0 --output /path/calib.bin
2. use the library functions to parse and apply the calibration file to samples (read
from hardware) or values (to be written to hardware)
An example on usage is in the utility function "insn_read" now accepting a
calibration file as input.
This feature will be available for xenomai-3 only and there are no plans to backport
it to xenomai-2.
For the time being you can find the relevant commits in the tree/branch below
http://git.xenomai.org/xenomai-jro.git/log/?h=for-xeno3
jro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJUSlhLAAoJECDcy2IJkagRlGoH/1p2STVGfToNKKzBFlFJ19PH
1LzfEFDlsJ+QvKmeOXXz8h24KoNTiIfwx9nvXeYc8569/UwxJqqypBrVR3uXPb4f
eqNb0SRtQJVRjabnKbl//6KbDmlQmHhkJHzYejoJM1HIRnfu3UF45TgAWQUJOxN4
ebU/sWOE0mABhWL3CBw+fOeudmKOWEKtWO+J5fjIkUD2iz0GL6PsXMbdeAT19dVJ
naLOXgAQVhJpA26aYh1My0utnHfY05FgPKtvf0VSZMK622R2SB9lxKoaukESBWGF
E9Nt2r4LYdbPVH3qQpa2GM9f7EgZ/cepaRLzls/Sdid67b3l0M/nz+XJzdDUhY8=
=+uHT
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Xenomai] /proc/xenomai/sched
@ 2014-10-21 20:11 Steve Hartmann
0 siblings, 0 replies; 6+ messages in thread
From: Steve Hartmann @ 2014-10-21 20:11 UTC (permalink / raw)
To: Xenomai
Can someone please point me in the direction of a writeup of how to interpret /proc/xenomai/sched? I have searched around, but cannot find what I am looking for. Specifically, I want to know what it means when I see a "D" in the "STAT" column, and what the number in the "TIMEOUT" column means.
I did find one post that said the "D" means "Delayed (without any other wait condition).". Maybe I'm just dense, but I'm not positive on what that means. I think it might mean that the task should be running, but it is delayed because it could not be scheduled because of some reason perhaps another higher priority task is bumping it? Or am I way off base?
Also, in xenomai 2.4.7, the TIMEOUT column is expressed in a number with no units; what is the unit?
Thanks,
Steven
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-10-24 13:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-21 20:29 [Xenomai] /proc/xenomai/sched Steve Hartmann
2014-10-22 5:17 ` Gilles Chanteperdrix
2014-10-22 11:17 ` Steve Hartmann
2014-10-22 15:38 ` Gilles Chanteperdrix
2014-10-24 13:46 ` [Xenomai] [Analogy] - new feature: software calibration NI-M Jorge Ramirez Ortiz
-- strict thread matches above, loose matches on Subject: below --
2014-10-21 20:11 [Xenomai] /proc/xenomai/sched Steve Hartmann
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.