This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
using namespace std; | |
void calcTimes(int processID[], int n, int burstTime[], int timeSlice); | |
void calcWaitingTime(int n, int bt[], int wt[], int quantum); | |
void calcTurnAroundTime(int n, int bt[], int wt[], int tat[]); | |
int main() { | |
int n; | |
cout << "Enter number of processes: "; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.cloudbus.cloudsim; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.LinkedList; | |
import java.util.List; | |
import java.util.Map; |