Find Jobs
Hire Freelancers

Scheduling Simulation

$10-30 USD

Cancelado
Publicado há mais de 6 anos

$10-30 USD

Pago na entrega
write an application that will allow simulating various scheduling algorithms. In order to test the data from data file, "[login to view URL]" has been prepared. The file contains a number of lines of data. Each line contains information about a process and has the following format: processID Process-Arrival-Time Process-Service-Tim. For this assignment, we will assume that our system contains one processor and that we are using a Round-Robin scheduler. Your program should allow the user to enter the length of the time quantum that will be used for the round robin [login to view URL] process should be represented by a process control block (PCB). The PCB should be initialized when the process enters the system and updated as the process moves through the system. The simulator should maintain: 1. a list of PCBs for the processes that are in the ready state. 2. a list of PCBs for the processes that have completed. 3. a list of the process(es) that are currently running. 4. a clock to keep track of the current time. Your simulator should use separate threads to manage the clock, entry of jobs into the system, the scheduling of processes, and moving finished jobs to the finished queue. Your simulation should produce a file that contains: 1. the time when each process finishes 2. the amount of time that each process spent on the ready list 3. the total time and the average time that all processes spent on the ready list. 4. the time when all processes finished.
ID do Projeto: 15737390

Sobre o projeto

Projeto remoto
Ativo há 6 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos

Sobre o cliente

Bandeira do(a) UNITED STATES
New Rochelle, United States
5,0
2
Método de pagamento verificado
Membro desde out. 18, 2017

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos 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)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.