All Packages Class Hierarchy This Package Previous Next Index
Class examples.computer.ComputerSimulation
java.lang.Object
|
+----java.util.Observable
|
+----simula.simset.simulation.Simulation
|
+----examples.computer.ComputerSimulation
- public class ComputerSimulation
- extends Simulation
Multiprogrammed computer system
-
arr
- Arrivals frequency
-
free
- Free pages available
-
inner
- Active jobs queue
-
lastevent
- time of last event
-
m
- Total pages of memory
-
m1
- Lower bound for number of pages requested
-
m2
- Upper bound for number of pages requested
-
outer
- Waiting jobs queue
-
q
- Probability of service request
-
result
- Number of jobs arrived
-
s
- Size for a quanta of service
-
seed
- Seed for random generators
-
server
- Process tha performs jobs scheduling and serving
-
simperiod
- Simulation length
-
ComputerSimulation()
-
-
main(String[])
-
Start the simualtion, instantiating a new Simulation and launching the main program
simperiod
public double simperiod
- Simulation length
result
public int result
- Number of jobs arrived
inner
public Head inner
- Active jobs queue
outer
public Head outer
- Waiting jobs queue
seed
public int seed
- Seed for random generators
free
public int free
- Free pages available
server
public Server server
- Process tha performs jobs scheduling and serving
arr
public double arr
- Arrivals frequency
m
public int m
- Total pages of memory
m1
public int m1
- Lower bound for number of pages requested
m2
public int m2
- Upper bound for number of pages requested
s
public double s
- Size for a quanta of service
q
public double q
- Probability of service request
lastevent
public double lastevent
- time of last event
ComputerSimulation
public ComputerSimulation()
main
public static void main(String args[])
- Start the simualtion, instantiating a new Simulation and launching the main program
- Parameters:
- args[] - Ignored
- See Also:
- Simulation, SimulationMain
All Packages Class Hierarchy This Package Previous Next Index