Cancelado

Scheduling Program

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: #6841135

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

omarqandeel

C,C++,C#,Asp.net, Java Programming, also I'm a system administrator with 5 years of experience in system administration and technical support for different platforms, I'm certified from Redhat, Microsoft, Vmware. I hav Mais

$25 USD in 3 dias
(4 Comentários)
3.0