freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

操作系統(tǒng)課程設(shè)計報告(參考版)

2025-03-26 08:34本頁面
  

【正文】 我相信,一定還有很多需要改善的地方,希望在以后的學(xué)習(xí)中,不斷的充實自己,盡力學(xué)習(xí)好操作系統(tǒng)的相關(guān)知識17。 } else system(cls)。) { continue。||again==39。 if(again==39。 } cout是否繼續(xù)調(diào)用其他算法?是請按y/Y,否請按其它鍵endl。 default:break。 case 3:opt(first,Maxpage)。 case 2:lru(first,Maxpage)。 } if (S!=4) { while(Maxpage=32) { switch(S) { case 1:fifo(first,Maxpage)。 while(S4||S1) { cout輸入錯誤重新輸入endl。 cout1:FIFO(先進(jìn)先出)調(diào)度算法\n2:LRU(最近最少使用算法)\n3:OPT(最佳淘汰算法)\n4:清屏endl。//打印產(chǎn)生的指令信息 while (1) { int Maxpage=3。//產(chǎn)生隨機(jī)指令 cout打印產(chǎn)生的指令信息endl。 //定義變量用戶選擇繼續(xù)還是退出 cout開始產(chǎn)生內(nèi)存指令endl。}endif主函數(shù) includeinclude include include include void main(){ int S。 p=pnext。 while(p) { if (current==pvirtualpage) { return position1。 int current=placevirtualpage。 coutcount2setw(25)double(count2)/MAX_LENGTHsetw(10)1double(count2)/MAX_LENGTHendl。 current +=1。 count2 +=1。 page3[place][1]=search(p,current)。 equal=0。break。i++) { if (page3[i][0]==pvirtualpage) {equal=1。 } else { for (int i=0。 } else if (page3[i][0]==pvirtualpage) { page3[i][1]=search(p,current)。 count2++。i++) { if (page3[i][0]==1) { page3[i][0]=pvirtualpage。 if (count1Maxpage) { for (int i=0。page3[i][1]=0。iMaxpage。 //定義判斷如果當(dāng)前頁數(shù)與比較的頁數(shù),如果相等則為1,否則為0 int place=0。 //定義缺頁次數(shù) int current=0。 int count1=0。void opt(struct produce*first,int Maxpage){ struct produce*p =firstnext。}endif LRU_Hifndef OPT_Hdefine OPT_Hincludevectorusing namespace std。 } coutLRU調(diào)度算法缺頁次數(shù) 缺頁率 命中率endl。 count2++。 page2[place][1]=1。 equal=0。break。 if (page2[i][0]==pvirtualpage) {equal=1。iMaxpage。 } } count1++。 break。 if (page2[i][0]==1) { page2[i][0]=pvirtualpage。iMaxpage。page2[i][1]=0。iMaxpage。 //定義判斷如果當(dāng)前頁數(shù)與比較的頁數(shù),如果相等則為1,否則為0 int place=0。 //定義內(nèi)存已經(jīng)被占用的頁數(shù) int count2=0。 vectorvectorint page2(Maxpage, vectorint(2))。//int max(vectorvectorint ,int )。 coutcount2setw(25)double(count2)/MAX_LENGTHsetw(10)1double(count2)/MAX_LENGTHendl。 } p=pnext。 rear=rear%Maxpage。 } if (find==0) { page[rear]=pages。 break。 break。 count2 ++。i++) { if (page[i]==1||count1Maxpage) { page[i]=pages。 for(int i=0。 struct produce *p
點(diǎn)擊復(fù)制文檔內(nèi)容
高考資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1