, , , , , , , , , , , , ,

[SOLVED] Ceg 4350 operating systems project assignment designing and implementing a cpu scheduling simulator

$25

File Name: Ceg_4350_operating_systems_project_assignment_designing_and_implementing_a_cpu_scheduling_simulator.zip
File Size: 932.58 KB

5/5 - (1 vote)

Objectives: The purpose of this project is to give you a chance to implement/simulate a few typical CPU scheduling policies discussed in the class. You will write a C/C++ program to implement a simulator with different scheduling algorithms, i.e., the simulator selects a task to run from ready queue(s) based on the scheduling algorithm selected. Since the project intends to simulate a CPU scheduler, so it does not require any actual process creation or execution. When a task is scheduled, the simulator will simply print out what task is selected to run at a time. It outputs the way similar to Gantt chart style.Process States: In this CPU scheduling simulation, there are 3 possible states for a process: Scheduling Algorithms: For your simulator, you will implement the following three CPU scheduling algorithms: Input (Process Information) : The process information will be read from an input file. The format is pid arrival_time burst_time . All of fields are integer type where pid is a unique numeric process ID, arrival_time is the time when the task arrives in the unit of milliseconds, and burst_time the is the CPU time requested by a task, in the unit of milliseconds The time unit for arrival_time, burst_time is millisecond.Command-line Usage Examples:myCPUScheduler input_file [FCFS|RR|MLFQ]Input file example:% more input.txtPID           ArrivalBurstOutput:Example:%myCPUScheduler input_file FCFSSelected Scheduling algorithm: FCFS=============================Average waiting time:                  10.00 msAverage response time: 3.00 msAverage turnaround time: 13.00 ms===============================What to submit in Pilot Dropbox:

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] Ceg 4350 operating systems project assignment designing and implementing a cpu scheduling simulator
$25