Em Andamento

Scheduling Program -- 2

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)

Habilidades: Programação C, Programação C++

Ver mais: the code.srt, scheduling jobs, queue algorithm in c, quantum programming, project scheduler jobs, project handler, programming algorithm example, program algorithm example, o 1 algorithm, example of an algorithm in programming, example of algorithm in programming, d.o.d. jobs, cplusplus queue, cplusplus jobs, algorithm jobs, scheduling algorithm, random signal, Quantum, Project Scheduling , job scheduling, scheduler program, code code alarm clock, java program scheduling, programming project alarm, program work time clock

Acerca do Empregador:
( 0 comentários ) United States

ID do Projeto: #6841551

7 freelancers estão ofertando em média $93 para este trabalho

super2lao

A proposal has not yet been provided

$263 USD in 3 dias
(49 Comentários)
6.5
hbxfnzwpf

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 Mais

$111 USD em 1 dia
(55 Comentários)
6.0
NaveenNishaan

A proposal has not yet been provided

$100 USD in 3 dias
(2 Comentários)
2.7
gaurav5670

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 dias
(4 Comentários)
2.4
satishiiith

A proposal has not yet been provided

$30 USD em 1 dia
(3 Comentários)
2.3
dinhks

Hi I am Dinh I am senior in C and java . hope to work with you ><><><><><><><><><><><><><><

$35 USD in 4 dias
(2 Comentários)
2.2
metasoft5

Dear Client, Greeting of the day ahead !!! Thanks for providing us opportunity to place bid over the project and communicate with you. I am a serious bidder here and i have already worked on a similar project befor Mais

$25 USD em 1 dia
(0 Comentários)
0.0
rafik7485

A proposal has not yet been provided

$10 USD em 1 dia
(0 Comentários)
0.0