-
大小: 606KB文件類型: .zip金幣: 1下載: 0 次發(fā)布日期: 2021-01-09
- 語言: 其他
- 標(biāo)簽: 反饋??操作系統(tǒng)??排隊(duì)算法??CPU調(diào)度??
資源簡(jiǎn)介
基于反饋(Feed Back,F(xiàn)B)排隊(duì)算法的CPU調(diào)度的模擬實(shí)現(xiàn). 模擬動(dòng)態(tài)創(chuàng)建多個(gè)進(jìn)程,依據(jù)反饋排隊(duì)算法調(diào)度原理,動(dòng)態(tài)顯示就緒隊(duì)列中的進(jìn)程、進(jìn)程的剩余時(shí)間及占有CPU的進(jìn)程; 動(dòng)態(tài)顯示等待隊(duì)列中的進(jìn)程(假設(shè)當(dāng)前只有一個(gè)事件的等待隊(duì)列);
代碼片段和文件信息
//?223.cpp?:?Defines?the?entry?point?for?the?console?application.
//
#include?“stdafx.h“
#include????//Definitions?for?memory?and?string?functions.?
#include????//Defines?the?ctype?macros.?
#include?????//memory?management?functions?and?variables.?
#include??????
#include??????
#include?????//Definitions?for?low?level?I/O?functions.?
#include???//Symbols?and?structures?for?process?management.??
#include???//Direct?MSDOS?console?input/output.???
#include?????
#include???//?Struct?and?function?declarations?for?dealing?with?time.?
#include??//Defines?structs?unions?macros?and?functions?for?dealing
?????????????????//with?MSDOS?and?the?Intel?iAPX86?microprocessor?family.??
//
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-08-30?11:45??223\
?????文件???????14362??2013-08-30?09:28??223\223.cpp
?????文件????????4500??2013-08-29?15:23??223\223.dsp
?????文件?????????514??2013-08-29?15:23??223\223.dsw
?????文件???????50176??2013-08-30?09:54??223\223.ncb
?????文件???????49664??2013-08-30?09:54??223\223.opt
?????文件????????1279??2013-08-30?09:28??223\223.plg
?????目錄???????????0??2013-08-30?09:28??223\Debug\
?????文件??????200759??2013-08-30?09:28??223\Debug\223.exe
?????文件??????221800??2013-08-30?09:28??223\Debug\223.ilk
?????文件???????69071??2013-08-30?09:28??223\Debug\223.obj
?????文件??????187128??2013-08-29?15:23??223\Debug\223.pch
?????文件??????525312??2013-08-30?09:28??223\Debug\223.pdb
?????文件????????1799??2013-08-29?15:23??223\Debug\StdAfx.obj
?????文件??????148480??2013-08-30?09:48??223\Debug\vc60.idb
?????文件??????233472??2013-08-30?09:28??223\Debug\vc60.pdb
?????文件????????1190??2013-08-29?15:23??223\ReadMe.txt
?????文件?????????290??2013-08-29?15:23??223\StdAfx.cpp
?????文件?????????667??2013-08-29?15:23??223\StdAfx.h
?????文件??????588288??2013-08-30?11:36??223\基于反饋(Feed?Back,F(xiàn)B)排隊(duì)算法的CPU調(diào)度的模擬實(shí)現(xiàn).doc
評(píng)論
共有 條評(píng)論