Esempio n. 1
0
        public Driver(int numOFCPUs, SchedulingType schedulingType)
        {
            LongTermScheduler  = new LongTermScheduler();
            shortTermScheduler = new ShortTermScheduler();
            CPUs = new CPU[numOFCPUs];

            for (int i = 0; i < CPUs.Length; i++)
            {
                cpuFutures   = new Future <?> [numOFCPUs];
Esempio n. 2
0
        public void Schedule(SchedulingType type)
        {
            PCBManager.PCB_SORT_TYPE sort_type = PCBManager.PCB_SORT_TYPE.JOB_NUMBER;
            switch (type)
            {
            case 1:
                sort_type = PCBManager.PCB_SORT_TYPE.JOB_PRIORITY;
                break;

            case 2:


            case 3:
            }
        }