RT-Linux-code

所属分类:Linux/Unix编程
开发工具:Unix_Linux
文件大小:42KB
下载次数:42
上传日期:2006-04-16 11:00:59
上 传 者xw11111
说明:  实时RT-linux源码,具有很强的实时操作能力,对学习linux环境下的实时策略修改有很大帮助
(real-time RT-Linux source code is very real time operating capacity, linux environment for studying the real-time strategy changes greatly help)

文件列表:
monotonic (0, 2003-09-08)
monotonic\Makefile (1127, 1998-02-14)
monotonic\app.c (917, 1998-02-11)
monotonic\control.h (246, 1998-02-11)
monotonic\.vimrc (143, 1998-02-11)
monotonic\rt_monotonic_sched.c (6989, 1998-02-11)
monotonic\rt_process.c (1229, 1998-02-11)
monotonic\rt_sched.h (1057, 1998-02-11)
monotonic\crono (0, 2003-09-08)
monotonic\crono\crono (24914, 1998-02-14)
monotonic\crono\crono.c (15295, 1998-02-14)
monotonic\crono\crono.h (139, 1997-09-25)
monotonic\crono\input.tab.c (24991, 1997-09-30)
monotonic\crono\input.tab.h (226, 1997-09-30)
monotonic\crono\input.y (2719, 1997-09-30)
monotonic\crono\linput.c (8220, 1997-09-25)
monotonic\crono\linput.d (397, 1997-09-25)
monotonic\crono\linput.l (456, 1997-09-25)
monotonic\crono\pstasks.c (5311, 1997-09-25)
monotonic\crono\sim (18437, 1998-02-11)
monotonic\crono\Makefile (565, 1997-09-25)
monotonic\data.out (18437, 1998-02-14)

This example show how the work done inside the scheduler can be monitorized. The scheduler used (and patched to send scheduling info) is the rt_monotonic_sched.o, it is a modification of the original scheduler (rt_prio_sche.o). All you have to do is to change variable RTLINUX in the Makefile to point in you rtlinux2.0.29 directory. Rate-monotonic scheduler treats tasks with shorter period as tasks with higher priority. rt_monotonic_sched: Does monotonic scheduling and generate debug information (if you want). rt_process: Creates few RT tasks with varing execution time. app: reads FIFO (DEBUG_FIFO) and writes it to the stdout, in the a special format than can be displayed by the procam crono. To run the example type: # make # make start ( Load modules ). (wait some time while system is logging the info 1 or 2 seconds) # crono/crono data.out & # make stop ( Remove modules ) Or : # insmod ${YOUR_MODULES_DIR}/rt_fifo_new.o # insmod rt_monotonic_sched.o # app > data.out& # insmod rt_process.o Many thanks to Ismael Ripoll for "crono" program. Contact info: oleg@nmt.edu

近期下载者

相关文件


收藏者