Java进行处理机调度模拟
发布时间
阅读量:
阅读量
package scheduling;
import javax.imageio.plugins.tiff.TIFFImageReadParam;
import java.time.temporal.ChronoUnit;
import java.util.HashMap;
import java.util.Scanner;
import java.util.LinkedList;
//进程控制块
class PCB {
String name;
int priority,
needtime,
cputime;
PCB(String name,int priority,int needtime,int cputime){
this.name = name;
this.priority = priority;
this.needtime = needtime;
this.cputime = cputime;
}
}
public class Scheduling{
private boolean c
全部评论 (0)
还没有任何评论哟~
