| | |
CPU Scheduling Algorithm
![]() |
•
•
Join Date: Apr 2006
Posts: 9
Reputation:
Solved Threads: 0
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
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
![]() |
Similar Threads
- cpu scheduling algorithm please (Community Introductions)
- Simulation for CPU Scheduling (C++)
- cpu scheduling program (Java)
- CPU scheduling algorithm (C++)
- CPU scheduling algorithms (RR, SJF, and Priority). (Java)
- Cpu scheduling algorithm (C)
Other Threads in the Java Forum
- Previous Thread: re: Trouble with GUI
- Next Thread: cpu scheduling I don't know why is not working
| Thread Tools | Search this Thread |
-xlint actionlistener android api applet application array arrays automation bi binary blackberry block bluetooth character class client code compile compiler component consumer database desktop developmenthelp eclipse error fractal freeze ftp functiontesting game gameprogramming givemetehcodez graphics gui health html ide image integer j2me j2seprojects java javac javaee javaprojects jetbrains jni jpanel jtable julia learningresources lego linked linux list mac main map method methods mobile myregfun netbeans notdisplaying number online printf problem program project qt recursion researchinmotion rotatetext rsa scanner screen server set singleton sms sort spamblocker sql string swing system textfields threads time title tree tutorial-sample update variablebinding windows working xor





