Find Jobs
Hire Freelancers

Scheduling Simulation

$10-30 USD

Скасований
Опублікований over 6 years ago

$10-30 USD

Оплачується при отриманні
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 проекту: 15737390

Про проект

Дистанційний проект
Активність 6 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними

Про клієнта

Прапор UNITED STATES
New Rochelle, United States
5,0
2
Спосіб оплати верифіковано
На сайті з жовт. 18, 2017

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.