Find Jobs
Hire Freelancers

Scheduling Program -- 2

$10-30 USD

In Progress
Posted over 9 years ago

$10-30 USD

Paid on delivery
In this project you will write a short-term scheduler and observe its properties. It will work as follows: 1. The scheduler will run in a single process, with simulated jobs. 2. You will implement a scheduler of SRT. 3. Time slice is defined as QUANTUM (100 milliseconds). 4. The program will take three arguments, a random seed, the name of the algorithm to use, and the length of time to run (in milliseconds). 5. You will simulate the clock interrupt with an alarm signal handler and setitimer(). See the example in the code (see below). 6. All I/O requests will be handled in 40 milliseconds. That is, when a job is blocked and removed from the ready queue, it can be added back at the next opportunity if 40 milliseconds have expired. You do not need to schedule a timer to simulate the I/O interrupt, just handle it when you do the clock interrupt. This way, all events happen in the alarm handler and you can deal with them in one place. 7. New jobs are created at chance of 10%. Namely, every 100 time slices should have 10 jobs RANDOMLY created. 8. When a job completes, you will print out the following information: a) Arrival time b) Completion time c) Service time d) Turnaround time ( = Completion time - Arrival time)
Project ID: 6841551

About the project

6 proposals
Remote project
Active 9 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
6 freelancers are bidding on average $64 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.
$111 USD in 1 day
4.9 (129 reviews)
6.9
6.9
User Avatar
Hi I am Dinh I am senior in C and java . hope to work with you ><><><><><><><><><><><><><><
$35 USD in 4 days
5.0 (37 reviews)
5.0
5.0
User Avatar
A proposal has not yet been provided
$30 USD in 1 day
5.0 (4 reviews)
2.8
2.8
User Avatar
A proposal has not yet been provided
$100 USD in 3 days
5.0 (2 reviews)
2.7
2.7
User Avatar
Hello, I have over 6+ years of experience in C programming, Kindly provide more details of project. I can provide you fully documented code.
$100 USD in 3 days
4.7 (7 reviews)
2.6
2.6
User Avatar
A proposal has not yet been provided
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
0.0
0
Member since Dec 9, 2014

Client Verification

Other jobs from this client

Scheduling Program
$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.