Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - priority scheduling java
Search - priority scheduling java - List
整个设计采用java语言,利用面向对象思想。 首先,编写一个进程调度类Main_PCB,一个进程信息类PCB_block可以创建进程控制块( PCB)表示。进程控制块可以包含如下信息:进程名、优先数、到达时间、需要运行时间、已用CPU时间、进程状态等等。 对应成员变量是pcb_Name pcb_ID int pcb_Pro PCB_Begintime() pcb_Needtime pcb_Spendtime pcb_Finishtime String pcb_Statue 成员方法是pcb_Work () 可以实例化多个包含相同信息的进程,一个线程类Work允许多个进程共行的进程调度创建各自的模拟任务,由process_Create(int Process_ProcessNum)方法实现创建Process_ProcessNum个进程。 -whole design using java language, the use of object-oriented thinking. First, the process of preparation of a scheduling Main_PCB category, an Information PCB_block process can create process control block (PCB) said. Process control block may contain the following information : process, and priority number, arrival time, the need to run time CPU has spent time, the process of the state and so on. Corresponding member variables is pcb_Name pcb_ID int pcb_Pro PCB_Begin time () pcb_Needtime pcb_Spendtime pcb_Finis htime String pcb_Statue members is pcb_Work () can be examples many of the same information included in the process. Work like a thread allows multiple process held a total of the scheduling process to create their own simulations, by process_Create (int Process_ProcessNum) method
Date : 2008-10-13 Size : 82.82kb User : 传统

DL : 0
操作系统中的调度先来先服务及短作业优先,是用java编写的。-operating system of first-come first-scheduling services and short operating priority is the use of java prepared.
Date : 2008-10-13 Size : 4.91kb User : zmy

DL : 0
java进程调度,处理机调度算法的实现 1. 设定系统中有五个进程,每一个进程用一个进程控制块表示。 2. 输入每个进程的“优先数”和“要求运行时间”, 3. 为了调度方便,将五个进程按给定的优先数从大到小连成就绪队列。用一单元指出队列首进程,用指针指出队列的连接情况。 4. 处理机调度总是选队首进程运行。采用动态优先数算法,进程每运行一次优先数就减“1”,同时将运行时间减“1”。 5. 若要求运行时间为零,则将其状态置为“结束”,且退出队列。 6. 运行所设计程序,显示或打印逐次被选中进程的进程名以及进程控制块的动态变化过程。 -java process scheduling, processor scheduling algorithm. Set system of five processes, each process with a process control block, said. Two. " Priority number" input of each process and the requirements of running time, 3. For scheduling convenience, the five process given the number of priority beginning with the largest connected into the ready queue. With a unit pointed out that the head of the queue process, the pointer pointed out that the connection queue. 4. Processor scheduling is always the first process of the election team run. Using the dynamic priority algorithm, the process each time you run priority number minus " 1" , run time minus " 1" . 5 Require run-time is zero, it is state set to " end" , and exit the queue. 6. Run the design process, display or print the process of successive selected process name and process control block dynamic process.
Date : Size : 6kb User : 张忠晔

Java实现进程调度(基于优优先级的进程调度算法可直接使用。 -Java implementation process scheduling (based on the superior priority process scheduling algorithm can be used directly.
Date : Size : 5kb User : hehe88999

用java语言编写的带有界面的模拟操作系统进程调度的程序,可随机生成10个进程,采用三种算法执行,即——1-先进先出调度算法 2-基于优先数的调度算法 3-最短执行时间调度算法-Java language interface with the operating system process scheduling simulation program, can be randomly generated 10 process, the implementation of the three algorithms, namely- 1- FIFO scheduling algorithm- scheduling algorithm based on priority number 3-shortest execution time scheduling algorithm
Date : Size : 88kb User : 羊羊

java 实现 操作系统中得进程调度 短作业优先和时间片-java achieve operating system process scheduling too short job priority and time slice
Date : Size : 2kb User : sangxiangning

DL : 0
用JAVA编写了一个最低松弛度优先算法 使其能够实现优先调度-JAVA prepared with a minimum laxity first algorithm to enable it to achieve priority scheduling
Date : Size : 397kb User : 唐磊
« 1 2»
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.