For each version of the simulator, for each input data file, for each quantum value, plot theWhat do you mean by ``completion time''? How is that different from ``elapsed time''?
- (a)
- completion time,
- (b)
- throughput,
- (c)
- average job elapsed time,
- (d)
- average job waiting time.
or
No matter how I vary the quantum size, XXX never changes.
Getting the program right is only one step in this assignment. A big part of it is to understand what's going on and how changes in the scheduling algorithm affect performance. See point 3 in this section. You are not limited to the list of parameters in part 1. You might want to look at some of the other statistics printed out by the program to help explain its behavior.
1:41:39.759: ********** Simulation completed ***********How are we to interpret 1:41:39.759?
[See also Q2]
A shortcut to converting that to milliseconds is to change line 208 in Sim.java from
db("********** Simulation completed ***********");to
db("********** Simulation completed at " + currentTime + " ***********");