Fred,
You can set a parallel port bit upon entry and clear it upon exit and
monitor this bit with an o-scope. Then you can get an very good idea of how
long it takes to execute your task. If it goes high and stays high then
there is definitely a problem and your period may be too short to do all
that you need to do. If it exits and repeats them maybe you have a logic
problem in the code and that part is never executed.
Janet Estabridis
-----Original Message-----
From: Basham, Richard R
To: '[EMAIL PROTECTED]'
Sent: 9/17/01 2:28 PM
Subject: RE: [rtl] period too short
Fred,
If the period of a periodic task is too short, Linux and user space will
not
get any cpu time. The rt module will get all of the cpu time. This
will
cause the console to lock up.
Rich
-----Original Message-----
From: fred august [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 4:04 PM
To: rtl
Subject: [rtl] period too short
Another question:
is there any way to see if the period of a periodic
thread is toop short, apart from the fact that some
part of the code is never performed?
Also, recently when I load a module in RT the loading
phase (when RTLinux writes the list of loaded modules
(+) ...
(+) ...
(+) ...
)
takes way more time than it did some time ago, loading
same modules. Is that normal?
Thanks for any info, sorry to bother.
f
______________________________________________________________________
Do You Yahoo!?
Il tuo indirizzo gratis e per sempre @yahoo.it su http://mail.yahoo.it
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/