Find Jobs
Hire Freelancers

CPU Scheduling FCFS, SJF, SRT and RR in C

$10-30 USD

Cerrado
Publicado hace más de 8 años

$10-30 USD

Pagado a la entrega
• 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.
ID del proyecto: 8862971

Información sobre el proyecto

5 propuestas
Proyecto remoto
Activo hace 8 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
5 freelancers están ofertando un promedio de $41 USD por este trabajo
Avatar del usuario
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 en 1 día
4,9 (105 comentarios)
6,8
6,8
Avatar del usuario
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 en 1 día
5,0 (2 comentarios)
1,6
1,6
Avatar del usuario
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 en 5 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 4 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
United States
0,0
0
Miembro desde oct 16, 2015

Verificación del cliente

Otros trabajos de este cliente

Project on C Programming
$10-30 USD
¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.