CPU Scheduler Simulator
Instructions
CPU Scheduler Simulator
You will write a program named schsim that simulates the CPU scheduler policies outlined in Chapter 9 of the Operating Systems book. You may write this program in any of the following languages: C, C++, C#, Java, Python, Ruby. Other languages are possible, just ask me. You must write a Makefile such that navigating into the directory and executing make will generate the program. You must also provide a README that describes how to use your program.
Input File Format
The input file will be a . csv containing a list of processes, at which CPU cycle they arrive, how many cycles they take to complete and an optional list of I/O times and how many cycles that I/O burst takes:
“A”,0,3 “B”,2,6

AssignmentTutorOnline

Instructions for the CPU Scheduler Simulator
Simulator of a CPU Scheduler
You’ll develop the schsim program, which replicates the CPU scheduler policies described in Chapter 9 of the Operating Systems book. This program can be written in either of the following languages: C, C++, C#, Java, Python, and Ruby are all examples of programming languages. Other languages are also possible; please inquire. You must create a Makefile that will construct the program when you navigate to the directory and run make. You must also provide a README file that explains how to run the program.
Format of the Input File
The input file will be a. csv file containing a list of processes, their arrival time on the CPU cycle, the number of cycles they take to finish, and an optional list of I/O times and the number of cycles that I/O burst takes:
“A,”0,3,”B,”2,6”

AssignmentTutorOnline

Published by
Research Helper
View all posts