All of lore.kernel.org
 help / color / mirror / Atom feed
[parent not found: <488DC8B8.4080403@domain.hid>]
* Re: [Xenomai-help] xenomai scheduler's ticks period
@ 2008-07-17  7:49 Matthieu
  2008-07-21 14:41 ` Matthieu
  0 siblings, 1 reply; 41+ messages in thread
From: Matthieu @ 2008-07-17  7:49 UTC (permalink / raw)
  To: xenomai

Hi,

I have a problem with xntbase_update(wind_tbase,1000000); because it
doesn't give me a 1ms period. The period is given as a count of nanoseconds
as it is said in the API documentation. I search solution around
tick/nanoseconds conversion or periodic/aperiodic timebase but I didn't
solve my problem. Moreover, when I call this instruction,
/proc/xenomai/timebases gives me a vxworks resolution of 1000000, what is
correct, but the period seem's to be 0.452ms . Could you tell me what I've
done wrong ?

Thank you.

Matthieu.




^ permalink raw reply	[flat|nested] 41+ messages in thread
[parent not found: <4861045E.4010106@domain.hid>]
* Re: [Xenomai-help] xenomai scheduler's ticks period
@ 2008-06-23  8:14 Matthieu
  2008-06-23  9:58 ` Philippe Gerum
  0 siblings, 1 reply; 41+ messages in thread
From: Matthieu @ 2008-06-23  8:14 UTC (permalink / raw)
  To: xenomai

Hi

I would like to know if there is a sheduler per CPUs or one scheduler for
all CPUs ? I understand that there is one sheduler per skin for all CPUs,
so it's only to be sure...

Well, my application has two working mode. One with a PCI hardware that
send an interrupt to tickAnnounce the Scheduler ; one with no hardware and
something that will simulate this hardware interrupt (something like a
periodic xenomai real-time task that send this same interrupt). So I need
to use an interrupt to tickAnnounce vxworks scheduler. I think that I have
to disabe the periodic tick (but I don't know how), and I need an interrupt
handler that send a tickAnnounce. It is during the execution that the
presence of the PCI hardware is tested and whether a hardware interrupt or
software interrupt is used. Can somebody explain me if it's possible, and
in that case, how can I disable the automatic vxworks tick ?




^ permalink raw reply	[flat|nested] 41+ messages in thread
* Re: [Xenomai-help] xenomai scheduler's ticks period
@ 2008-06-11  9:18 Matthieu
  2008-06-11 12:28 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 41+ messages in thread
From: Matthieu @ 2008-06-11  9:18 UTC (permalink / raw)
  To: xenomai

So, do I have to understand that all skins have their own scheduler ?
To schedule at 1ms, specifying option tick_arg=1000 to xeno_vxworks module
doesn't ! I thing
that I do it in a bad way, endeed I added "options xeno_vxworks
tick_arg=1000" to /etc/modprobe.conf/local ... (In fact I must add this
module manually, it isn't loaded automatically while a vxworks instruction
need to execute).

Matthieu

On Tue, 10 Jun 2008 11:43:39 +0200, "Gilles Chanteperdrix"
<gilles.chanteperdrix@xenomai.org> wrote:
> On Tue, Jun 10, 2008 at 10:43 AM, Matthieu
> <matthieu.connaulte_xenomai@domain.hid> wrote:
>> Hi
>>
>> Is it possible to change the value of the xenomai scheduler's ticks
> period
>> ? I would like the tasks to be scheduled each 1 millisecond for exemple.
> I
>> found out xnpod_tick_announce, but I didn't find any documentation and I
>> didn't find the sources.
>
> Xenomai scheduler has no tick period. If you want, you may change a
> skin period, either by using Kconfig options, or by using module
> parameters. You will find documentation about the module parameters
> either by using modinfo or in the text file documenting the skin you
> want to use.
>
> --
>  Gilles




^ permalink raw reply	[flat|nested] 41+ messages in thread
* [Xenomai-help] xenomai scheduler's ticks period
@ 2008-06-10  8:43 Matthieu
  2008-06-10  9:22 ` Matthieu
  2008-06-10  9:43 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 41+ messages in thread
From: Matthieu @ 2008-06-10  8:43 UTC (permalink / raw)
  To: xenomai

Hi

Is it possible to change the value of the xenomai scheduler's ticks period
? I would like the tasks to be scheduled each 1 millisecond for exemple. I
found out xnpod_tick_announce, but I didn't find any documentation and I
didn't find the sources.

Thank you in advence

Matthieu




^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2008-08-07  8:12 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <485F7A69.7080004@domain.hid>
     [not found] ` <5b5edafe752e2ab744303b0262edc05c@domain.hid>
2008-06-23 15:57   ` [Xenomai-help] xenomai scheduler's ticks period Philippe Gerum
2008-06-23 16:33     ` Gilles Chanteperdrix
2008-06-23 16:40       ` Philippe Gerum
2008-06-23 16:46         ` Gilles Chanteperdrix
     [not found]         ` <485FD32C.3040902@domain.hid>
2008-06-23 17:18           ` Philippe Gerum
2008-06-23 17:52             ` Matthieu
2008-06-24 14:22               ` Matthieu
     [not found] <488DC8B8.4080403@domain.hid>
2008-08-07  8:12 ` Matthieu
2008-07-17  7:49 Matthieu
2008-07-21 14:41 ` Matthieu
2008-07-28 10:27   ` Matthieu
2008-07-28 13:02     ` Gilles Chanteperdrix
     [not found] <4861045E.4010106@domain.hid>
     [not found] ` <14a573dd7f3ed8e10e00a083480c4622@domain.hid>
2008-06-24 16:40   ` Gilles Chanteperdrix
2008-06-24 17:10     ` Matthieu
2008-06-25  8:06       ` Matthieu
2008-06-26  8:07       ` Matthieu
2008-06-30  7:40         ` Matthieu
2008-07-01  8:28           ` Matthieu
2008-07-07  5:49             ` Matthieu
2008-07-07  7:49               ` Philippe Gerum
2008-07-07  9:49                 ` Matthieu
2008-07-07 11:45                   ` Philippe Gerum
2008-07-07 13:19                     ` Matthieu
2008-07-07 13:33                       ` Philippe Gerum
2008-07-07 13:44                         ` Matthieu
2008-07-07 13:55                           ` Philippe Gerum
     [not found]                             ` <5c3287e115e89c7cbb7c53402762cb2c@domain.hid>
2008-07-07 14:16                               ` Philippe Gerum
     [not found]                                 ` <a01245292d763fa02c3e6b9a79b67348@domain.hid>
2008-07-07 14:41                                   ` Philippe Gerum
2008-07-15  7:27                                     ` Matthieu
2008-07-15 19:07                                       ` Philippe Gerum
2008-07-16  6:41                                         ` Matthieu
2008-07-16  6:28                                           ` Philippe Gerum
  -- strict thread matches above, loose matches on Subject: below --
2008-06-23  8:14 Matthieu
2008-06-23  9:58 ` Philippe Gerum
2008-06-11  9:18 Matthieu
2008-06-11 12:28 ` Gilles Chanteperdrix
2008-06-10  8:43 Matthieu
2008-06-10  9:22 ` Matthieu
2008-06-10  9:43 ` Gilles Chanteperdrix
2008-06-11  5:47   ` Matthieu
2008-06-15 12:50     ` Gilles Chanteperdrix

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.