文件名称:LGY_CPU_Scheduler
介绍说明--下载内容均来自于网络,请自行研究使用
一、在WINDOWS中双击DEBUG目录中的EXE文件直接运行,可能会没有显示结果窗口就关闭了,这不是程序错误,解决方法是:
1、“开始->程序->附件-命令提示符”,打开DOS命令窗口。
2、改变当前目录至EXE文件所在目录;(或者将EXE文件和测试用的文本文件一并复制到当前目录)。
3、输入EXE文件的完整名称(含后缀名)运行即可。(为方便输入,可以重命名EXE文件。)
二、 本程序包括:FIFO,优先级调度算法(静态优先级),时间片轮转调度算法,短进程优先调度算法。 VC++6.0调试通过 项目类型:Win32 Console Application。
输入:进程流文件(文本文件),其中存储的是一系列要执行的进程,每个进程包括四个数据项: 进程名(长度不超过20个的字符串) 进程状态(1就绪 2等待 3运行) 所需时间 优先级(0级最高)
输出: 进程执行流 等待时间 平均等待时间-A double-click the EXE file in the DEBUG directory in the WINDOWS direct run may not display the results window is closed, this is not a program error, the solution is:
1, "Start-> Programs-> Accessories- Command Prompt, open a DOS command window.
2, change the current directory to the EXE file directory (or EXE file and test a text file together with copy to the current directory).
3, enter the full name of the EXE file (with extension) can be run. (To facilitate the input, you can rename the EXE file.)
Second, this procedure include: the FIFO, priority scheduling algorithm (static priority), round-robin scheduling algorithm, the short process priority scheduling algorithm. VC++ 6.0 debug: Win32 Console the Application project type.
Input: process flow file (text file), which store a series of process to be performed, each process, including the process of four data items: the process name (string) length of not more than 20 state (1 Ready 2 w
1、“开始->程序->附件-命令提示符”,打开DOS命令窗口。
2、改变当前目录至EXE文件所在目录;(或者将EXE文件和测试用的文本文件一并复制到当前目录)。
3、输入EXE文件的完整名称(含后缀名)运行即可。(为方便输入,可以重命名EXE文件。)
二、 本程序包括:FIFO,优先级调度算法(静态优先级),时间片轮转调度算法,短进程优先调度算法。 VC++6.0调试通过 项目类型:Win32 Console Application。
输入:进程流文件(文本文件),其中存储的是一系列要执行的进程,每个进程包括四个数据项: 进程名(长度不超过20个的字符串) 进程状态(1就绪 2等待 3运行) 所需时间 优先级(0级最高)
输出: 进程执行流 等待时间 平均等待时间-A double-click the EXE file in the DEBUG directory in the WINDOWS direct run may not display the results window is closed, this is not a program error, the solution is:
1, "Start-> Programs-> Accessories- Command Prompt, open a DOS command window.
2, change the current directory to the EXE file directory (or EXE file and test a text file together with copy to the current directory).
3, enter the full name of the EXE file (with extension) can be run. (To facilitate the input, you can rename the EXE file.)
Second, this procedure include: the FIFO, priority scheduling algorithm (static priority), round-robin scheduling algorithm, the short process priority scheduling algorithm. VC++ 6.0 debug: Win32 Console the Application project type.
Input: process flow file (text file), which store a series of process to be performed, each process, including the process of four data items: the process name (string) length of not more than 20 state (1 Ready 2 w
(系统自动生成,下载前可以参看下载内容)
下载文件列表
LGY_CPU_Scheduler\1.txt
.................\2.txt
.................\3.txt
.................\Debug\LGY_CPU_Scheduler.exe
.................\.....\LGY_CPU_Scheduler.ilk
.................\.....\LGY_CPU_Scheduler.obj
.................\.....\LGY_CPU_Scheduler.pch
.................\.....\LGY_CPU_Scheduler.pdb
.................\.....\vc60.idb
.................\.....\vc60.pdb
.................\LGY_CPU_Scheduler.cpp
.................\LGY_CPU_Scheduler.dsp
.................\LGY_CPU_Scheduler.dsw
.................\LGY_CPU_Scheduler.ncb
.................\LGY_CPU_Scheduler.opt
.................\LGY_CPU_Scheduler.plg
.................\LGY_CPU_Scheduler说明.txt
.................\Debug
LGY_CPU_Scheduler
.................\2.txt
.................\3.txt
.................\Debug\LGY_CPU_Scheduler.exe
.................\.....\LGY_CPU_Scheduler.ilk
.................\.....\LGY_CPU_Scheduler.obj
.................\.....\LGY_CPU_Scheduler.pch
.................\.....\LGY_CPU_Scheduler.pdb
.................\.....\vc60.idb
.................\.....\vc60.pdb
.................\LGY_CPU_Scheduler.cpp
.................\LGY_CPU_Scheduler.dsp
.................\LGY_CPU_Scheduler.dsw
.................\LGY_CPU_Scheduler.ncb
.................\LGY_CPU_Scheduler.opt
.................\LGY_CPU_Scheduler.plg
.................\LGY_CPU_Scheduler说明.txt
.................\Debug
LGY_CPU_Scheduler