CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - cpu scheduling algorithm
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - cpu scheduling algorithm - List
[
Compress-Decompress algrithms
]
jcddmnxt
DL : 0
进程调度模拟程序 这里没有任何的API调用 只是模拟,我给进程设定了自己的语法,输入一般的字符cpu调用时只是正常输出,如果遇到 $ 表示该进程要调用系统资源后面必须跟一个数字表示占有的时间,如果资源闲置则占有资源否则阻塞,等资源释放在占有资源。进程的调用算法我采用的是时间片轮转算法并有所改进,当某个进程从阻塞队列释放后,他将把以前因为等待资源而被浪费的时间补回来。-scheduling process simulation program here no API calls only simulation, I set to process its own syntax, the characters importation cpu call just normal output. If a $ indicated the process is to call the system with the resources to be behind a number of possession of the said time, If resources were idle resources otherwise occupied obstruction, and other resources in the release of resources. Calling the process of the algorithm I use is time slice and rotate algorithm improvements, a process blocked from the queue after release, he would wait before because resources were wasted in time-back.
Date
: 2008-10-13
Size
: 3.42kb
User
:
CT
[
Compress-Decompress algrithms
]
jcddmnxt
DL : 0
进程调度模拟程序 这里没有任何的API调用 只是模拟,我给进程设定了自己的语法,输入一般的字符cpu调用时只是正常输出,如果遇到 $ 表示该进程要调用系统资源后面必须跟一个数字表示占有的时间,如果资源闲置则占有资源否则阻塞,等资源释放在占有资源。进程的调用算法我采用的是时间片轮转算法并有所改进,当某个进程从阻塞队列释放后,他将把以前因为等待资源而被浪费的时间补回来。-scheduling process simulation program here no API calls only simulation, I set to process its own syntax, the characters importation cpu call just normal output. If a $ indicated the process is to call the system with the resources to be behind a number of possession of the said time, If resources were idle resources otherwise occupied obstruction, and other resources in the release of resources. Calling the process of the algorithm I use is time slice and rotate algorithm improvements, a process blocked from the queue after release, he would wait before because resources were wasted in time-back.
Date
: 2026-01-03
Size
: 3kb
User
:
[
Compress-Decompress algrithms
]
process
DL : 0
进程调度模拟程序:假设有10个进程需要在CPU上执行,分别用: 先进先出调度算法; 基于优先级的调度算法; 最短执行时间调度算法 确定这10个进程在CPU上的执行过程。要求每次进程调度时在屏幕上显示: 当前执行进程; 就绪队列; 等待队列 -Process scheduling simulation program: Suppose there are 10 processes need to execute on the CPU, respectively: FIFO scheduling algorithm priority-based scheduling algorithm shortest execution time scheduling algorithm to determine which 10 processes running on the CPU process. Every time process scheduling requirements displayed on the screen: current implementation process ready queue waiting queue
Date
: 2026-01-03
Size
: 3kb
User
:
鸣海夜一
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.