Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
programming
(root)
/
school
/
cs431
/
p1
/
Process.java
– Rev 417
Rev
Show changed files
|
Details
|
Compare with Previous
|
Blame
|
RSS feed
Filtering Options
From rev
To rev
Max revs
Search history for
Show All
Rev
Age
Author
Path
Log message
Diff
417
6807 d 12 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.
416
6807 d 16 h
ira
/school/cs431/p1/
Process.java:
* Add the wait time to the processor.
Scheduler.java:
* Update the wait times in scheduleCurrent().
* Add printWaitTimes() function to print the average wait time.
415
6808 d 6 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 12 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.
412
6809 d 7 h
ira
/school/cs431/p1/
Project1.java:
* Initial implementation of the main functionality of CS431 Proj #1.
Process.java:
* A container for a process which is read from the input file.
ConfigParser.java:
* Parser of CS431 Proj #1's input file format.
Scheduler.java:
* Scheduler interface.
FCFSScheduler.java:
* Initial implementation of a First Come First Served Scheduler.
SJFScheduler.java:
* Starting point for a Shortest Job First Scheduler.
Makefile:
* Probably non-working makefile for this project.