Skip to content

Instantly share code, notes, and snippets.

Avatar

Farwa Rajput Farwa-Rajput

View GitHub Profile
@Farwa-Rajput
Farwa-Rajput / schdeulling.cpp
Last active Jun 6, 2020
ROUND ROBBIN SCHEDULING (C++)
View schdeulling.cpp
#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: ";
@Farwa-Rajput
Farwa-Rajput / DatacenterBroker.java
Last active Jun 11, 2020
Shortest Job First (SJF) Task scheduling algorithm implementation in cloudsim
View DatacenterBroker.java
package org.cloudbus.cloudsim;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
You can’t perform that action at this time.