Find Jobs
Hire Freelancers

CPU Scheduling FCFS, SJF, SRT and RR in C

$10-30 USD

Closed
Posted over 8 years ago

$10-30 USD

Paid on delivery
• Reads process information in from a file • Sets up an easy way to write and run a scheduler on a set of processes To use the framework, you must write each scheduler as a function with the following pattern: int scheduler_name(proc_t * processes, int numprocesses, int timeslice); For example, if I were implementing the first come first served scheduler, my function prototype might be: int fcfs(proc_t * processes, int numprocesses, int timeslice); This function should take an array of processes, the length of the array of processes, and the current timeslice(or time stamp), and return the index in the array of the process that will be given the CPU burst. You can see in the files cpu_sched.h and cpu_sched.c how these functions are called. The functions defined in proc.h and cpu_sched.h have been written to help you write your scheduler functions. The files schedulers.h and schedulers.c are where you should declare and define your scheduler functions as well as any other functions you deem necessary. main.c has the lines commented out to call the functions (assuming you named them as I did in my solution) so you can see how to run each scheduler. Reading the output The output you generate must match the sample output provided in the framework EXACTLY. A B specifies that the process currently is bursting (has the CPU). A W indicates the process is waiting. The timeslice at which the process enters should be marked with a >, and when it ends should be marked with a <. It should also specify the average wait time and the average turnaround time. You must modify every .h and .c file to include your name in the Modified by: field in the comment header. If you work with a partner, both of your names must appear here.
Project ID: 8862971

About the project

5 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $41 USD for this job
User Avatar
I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the language is c++ under linux. I used c++ to make many great projects, for example, I made the tools which can convert java files to c++ scripts which has the same effect, of course garbage collection included. I also made our own mobile game using c++, I even can show you the demo of client. Trust me, please let expert help you.
$80 USD in 1 day
4.9 (105 reviews)
6.8
6.8
User Avatar
Hi there! I'm perfect for this work as I'm very fluent in c and have developed many projects in c. this project of yours looks like a small project and could be done in a day, I have developed exactly similar program on scheduling as an lab assignment in my college, so I can assure you that I can deliver a program that does all the above functions with comments to make the program more readable. And also My favorite subject is OS(to be honest). I'm currently studying in college with computer science as major, so i know what I'm talking about. i have done similar assignments. and i can surely help you out. CONTACT ME IF YOU HAVE ANY DOUBT OR HAVE FURTHER QUERIES, I'm ALWAYS AVAILABLE!
$25 USD in 1 day
5.0 (2 reviews)
1.6
1.6
User Avatar
I am Android Developer/Computer Engineer I can do it But contact me if you can pay me through western union Contact me for 100% perfect work Contact me on whatsapp for doing this project in less price
$35 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I've been programming in C and C++ for six years now. I have a very good understanding of the syntax and idioms that one often encounters in other code. The solution to your problem seems fairly straightforward but I'm prepared to work with you as needed to get you exactly what you want! Thanks for reading!
$30 USD in 4 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
0.0
0
Member since Oct 16, 2015

Client Verification

Other jobs from this client

Project on C Programming
$10-30 USD
Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.