Subversion Repositories programming

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
417 6807 d 17 h ira /school/cs431/p1/ Process.java:
* Have a Process store the time at which it will enter the run queue.
This makes delaying processes easily possible in all Schedulers.

Scheduler.java:
* Add a waiting queue, which holds delayed processes.
* Always add to the wait queue in addProcess().
* Add queueWaitingProcesses() function so all Schedulers have support
for delayed processes.
* Add schedulerFinished() function so that any Scheduler that uses the
default functions can know when it is finished.
* Add printTurnaroundTime() function to calculate and print the
turnaround time for this run of the Scheduler.
* Use printTurnaroundTime() in run() to print results.

FCFSScheduler.java:
* Switch to new interfaces in the Scheduler superclass.

SJFScheduler.java:
* Remove all of the custom delayed process support, it is now
implemented in the superclass Scheduler.
* Switch to new interfaces in the Scheduler superclass.

RRScheduler.java:
* Switch to new interfaces in the Scheduler superclass.
 
415 6808 d 11 h ira /school/cs431/p1/ Add LaTeX source for printing this project.

All Java Files:
* JavaDoc Documentation for all classes, methods, etc.

Makefile:
* Add doc target to build JavaDoc documentation.
 
413 6808 d 17 h ira /school/cs431/p1/ LogEntry.java:
* Initial implementation of Log Entries, for use by Schedulers.

Process.java:
* Add copy constructor.
* Add more private fields. (Some not used, yet).
* Add equals() method.

Scheduler.java:
* Now an abstract class, not an interface.
* Add protected fields.
* Add default implementations of most functions.
* Add many functions to make writing schedulers easier.

FCFSScheduler.java:
* Switch to new Scheduler superclass.
* Use Scheduler functions.

SJFScheduler.java:
* Switch to new Scheduler superclass.
* Clean up private SJFProcess class.
* Use Scheduler functions.

RRScheduler.java:
* Initial implementation of a Round-Robin Scheduler.

Makefile:
* Minor improvements, still barely working.

Project1.java:
* Add SJFScheduler run.
* Add RRScheduler run.