CPU Scheduling Algorithm

Reply

Join Date: Apr 2006
Posts: 9
Reputation: sidereal is an unknown quantity at this point 
Solved Threads: 0
sidereal sidereal is offline Offline
Newbie Poster

CPU Scheduling Algorithm

 
0
  #1
Apr 15th, 2006
Hey..
I am working on this project, where you have to simulate cpu scheduling for 10 processes. I have to use only 2 algorithms like FCFS and Priority.
The basic code would be randomly generating 2 files: "burst_time.txt" and
"priority.txt" and then reading the random times. I have to save all information like process ID , burst time and priority on a ProcessControlBlock class and use a ready queue for the implementation.
I have a problem linking ID and burst time, since the Priority algorithm changes the order in which processes enter the queue.
Could somebody help me with that??????

plssss
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC