process simulation

You are to simulate the execution of interactive processes by a computer system with a large memory, one terminal per user, a CPU, and a disk unit. Each process will be described by its start time followed by a sequence of resource requests. It must be written in C or C++. These resources requests will include: a) CPU requests (CPU), b) disk reads (DISK ) and c) terminal accesses (TERMINAL). Your input will be a sequence of pairs as in: QUANTUM 100 START 12000 CPU 100 TERMINAL 5000 CPU 100 DISK 10 CPU 20 TERMINAL 2000 START 12000 CPU 30 ... All times will be expressed in milliseconds When a process exceeds its CPU quantum, the OS will move that process to the end of the ready queue and allocate the CPU to the first process in line (head of the ready queue). To simplify your life, we will assume that: a)there is enough memory space for all processes, b)context switch times can be neglected, c)user think times are included in the terminal access times, and d)each process reads and writes to a different terminal. When all the processes in your input stream have completed, your simulator should print a summary report listing: a)the CPU quantum, b)the number of processes that have completed, c)the total number of disk accesses, d)the average duration of a disk access (including the waiting time in the disk queue), e)the total time elapsed since the start of the first process, f)the maximum lengths of the CPU and disk queues, g)the CPU and disk utilizations, that is, the fraction of time the CPU was busy.

## Deliverables

Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. All the specifications of the programs must be met. All the programs should be original. It must not have any similarity to the programs you have worked or are working on in similar project.

## Platform


## Deadline information

only want bids from coder who have not worked on and are not working on the similar projects.

Habilidades: Programação C, Engenharia, Linux, MySQL, PHP, Arquitetura de software, Teste de Software, UNIX

Veja mais: switch c programming, stream programming, quantum programming, quantum computer programming, programming resources, programming process, programming of life, programming head, platform process, life programming, head first programming, first computer programming, c programming switch, computer programming projects, computer programming programs, computer programming information, c and c++ programming resources, simulation program, similarity, Quantum

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

ID do Projeto: #2854706

5 freelancers estão ofertando em média $48 para esse trabalho


See private message.

$49.3 USD in 14 dias
(44 Comentários)

See private message.

$51 USD in 14 dias
(72 Comentários)

See private message.

$59.5 USD in 14 dias
(35 Comentários)

See private message.

$51 USD in 14 dias
(17 Comentários)

See private message.

$29.75 USD in 14 dias
(16 Comentários)