Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
W
A
accept(File)
- Method in class com.jimweller.cpuscheduler.
BetterFileFilter
Return true if this file should be shown in the directory pane, false if it shouldn't.
actionPerformed(ActionEvent)
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
A long gory event handler.
actionPerformed(ActionEvent)
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
A long gory event handler.
active
- Variable in class com.jimweller.cpuscheduler.
Process
A way to see if a process is scheduled to run this cycle
activeIndex
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
The index into the vector/array/readyQueue.
activeJob
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
A reference to the currently active job.
addExtension(String)
- Method in class com.jimweller.cpuscheduler.
BetterFileFilter
Adds a filetype "dot" extension to filter against.
algolLbl
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
algolLbl
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
algorithm
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
The algorithm to use for this simulation.
algorithmMenu
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
algorithmMenu
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
allProcs
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
The collection of all processes involved in this simulation.
arrival
- Variable in class com.jimweller.cpuscheduler.
Process
The actual time the process arrived.
arrived
- Variable in class com.jimweller.cpuscheduler.
Process
a way to check if a process has occured yet
B
BARHEIGHT
- Static variable in class com.jimweller.cpuscheduler.
ProcessPanel
The height you want the meters drawn.
BetterFileFilter
- class com.jimweller.cpuscheduler.
BetterFileFilter
.
Taken from the JDK demos.
BetterFileFilter()
- Constructor for class com.jimweller.cpuscheduler.
BetterFileFilter
Creates a file filter.
BetterFileFilter(String)
- Constructor for class com.jimweller.cpuscheduler.
BetterFileFilter
Creates a file filter that accepts files with the given extension.
BetterFileFilter(String, String)
- Constructor for class com.jimweller.cpuscheduler.
BetterFileFilter
Creates a file filter that accepts the given file type.
BetterFileFilter(String[])
- Constructor for class com.jimweller.cpuscheduler.
BetterFileFilter
Creates a file filter from the given string array.
BetterFileFilter(String[], String)
- Constructor for class com.jimweller.cpuscheduler.
BetterFileFilter
Creates a file filter from the given string array and description.
buildButtons()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
Build the buttons for the applications
buildButtons()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
Build the buttons for the applications If startCB is checked we are playing and the pause icon should show If startCB is uncheck we are paused and the play icon should show so cb==false->play cb==true->pause
buildFileDialog()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
Setup an open and save dialog for later use.
buildMenus()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
Gory! Build all the menus for the application.
buildMenus()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
Gory! Build all the menus for the application.
buildRandomQueue()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Empty and populate a CPUScheduler
buildStatusPanels()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
Setup the panels used to display status.
buildStatusPanels()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
Setup the panels used to display status.
burst
- Variable in class com.jimweller.cpuscheduler.
Process
Process' CPU burst time.
burstColor
- Variable in class com.jimweller.cpuscheduler.
ProcessPanel
Some pretty colors to draw with.
busy
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
The amount of elapsed time that the CPU was kept busy.
busy
- Variable in class com.jimweller.cpuscheduler.
ClockPanel
busyLabel
- Variable in class com.jimweller.cpuscheduler.
ClockPanel
buttonPanel
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
buttonPanel
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
C
CPUScheduler
- class com.jimweller.cpuscheduler.
CPUScheduler
.
CPUScheduler runs a simulation of one of four different scheduling algorithms (FCFS,SJF,ROUNDROBIN,PRIORITY).
CPUScheduler()
- Constructor for class com.jimweller.cpuscheduler.
CPUScheduler
Default constructor which builds DEF_PROC_COUNT randomly generated processes and loads them into the job queue
CPUScheduler(Vector)
- Constructor for class com.jimweller.cpuscheduler.
CPUScheduler
Articulate constructor that allows the programmer to design his/her own Vector of processes and use them in the scheduler
CPUScheduler(String)
- Constructor for class com.jimweller.cpuscheduler.
CPUScheduler
Articulate constructor that reads the process data from a file.
CPUScheduler(File)
- Constructor for class com.jimweller.cpuscheduler.
CPUScheduler
Articulate constructor that reads the process data from a file.
CPUSchedulerFrame
- class com.jimweller.cpuscheduler.
CPUSchedulerFrame
.
CPUSchedulerFrame is a JFrame that contains and represents a CPUScheduler object.
CPUSchedulerFrame()
- Constructor for class com.jimweller.cpuscheduler.
CPUSchedulerFrame
Default constructor, builds and displays a random CPUScheduler object.
CPUSchedulerFrameForApplet
- class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
.
CPUSchedulerFrameForApplet is a JFrame that contains and represents a CPUScheduler object.
CPUSchedulerFrameForApplet()
- Constructor for class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
Default constructor, builds and displays a random CPUScheduler object.
ClockPanel
- class com.jimweller.cpuscheduler.
ClockPanel
.
A simple panel for showing time/idle/burst for any quantifier.
ClockPanel(String)
- Constructor for class com.jimweller.cpuscheduler.
ClockPanel
cleanUp()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Purge the runtime queues
com.jimweller.cpuscheduler
- package com.jimweller.cpuscheduler
contentPane
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
contentPane
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
countSlider
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
countSlider
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
cpu
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
cpu
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
cpuTimePanel
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
cpuTimePanel
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
currentTime
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
This simulates elapsed time.
D
DEF_PROC_COUNT
- Static variable in class com.jimweller.cpuscheduler.
CPUScheduler
The default number of processes to randomly generate.
Dispatch()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Actually run the active job and wait the rest of them
DrawBursts(Graphics)
- Method in class com.jimweller.cpuscheduler.
ProcessPanel
Draw the burst panel.
delay
- Variable in class com.jimweller.cpuscheduler.
Process
Delay of arrival.
delaySlider
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
delaySlider
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
description
- Variable in class com.jimweller.cpuscheduler.
BetterFileFilter
E
emptyQueuePanel()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
Remove all panels from the box that contains the graphical representation of the ready queue
emptyQueuePanel()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
Remove all panels from the box that contains the graphical representation of the ready queue
executing(long)
- Method in class com.jimweller.cpuscheduler.
Process
Go through the motions of running one cycle on a process.
F
FCFS
- Static variable in class com.jimweller.cpuscheduler.
CPUScheduler
A constant for use in specifying the First Come First Serve scheduling algorithm
fcfsRB
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
fcfsRB
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
fileMenu
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
fileMenu
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
fileName
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
fileName
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
fillQueuePanel()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
Display the jobs from the CPUScheduler on a blank jobQueue
fillQueuePanel()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
Display the jobs from the CPUScheduler on a blank jobQueue
filters
- Variable in class com.jimweller.cpuscheduler.
BetterFileFilter
findEarliestJob(Vector)
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
FCFS: Get the job that got here first
findLoftiestJob(Vector)
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
find the job with the highest priority In case of tie take first in the queue
findNextJob(Vector)
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
RR: get the next job we should run (could be the one we're running).
findShortestJob(Vector)
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
SJF: Locate the smallest job in a queue
finish
- Variable in class com.jimweller.cpuscheduler.
Process
The time that the process ends execution.
finished
- Variable in class com.jimweller.cpuscheduler.
Process
A way to see if a process is complete
fps
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
fps
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
fps100MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
fps100MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
fps10MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
fps10MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
fps1MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
fps1MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
fps20MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
fps20MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
fps30MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
fps30MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
fps40MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
fps40MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
fps50MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
fps50MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
fps60MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
fps60MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
fps70MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
fps70MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
fps80MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
fps80MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
fps90MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
fps90MI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
frameNumber
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
frameNumber
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
frozen
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
frozen
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
fullDescription
- Variable in class com.jimweller.cpuscheduler.
BetterFileFilter
G
getActiveProcess()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the Process that is actively being executed
getAlgorithm()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the value of algorithm.
getAlgorithmName()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get a string with the current algorithm's name
getArrivalTime()
- Method in class com.jimweller.cpuscheduler.
Process
Get the value of arrival.
getBurstTime()
- Method in class com.jimweller.cpuscheduler.
Process
Get the value of burst.
getBusyTime()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the amount of time the CPU has been used so far.
getDelayTime()
- Method in class com.jimweller.cpuscheduler.
Process
Get the value of delay.
getDescription()
- Method in class com.jimweller.cpuscheduler.
BetterFileFilter
Returns the human readable description of this filter.
getExtension(File)
- Method in class com.jimweller.cpuscheduler.
BetterFileFilter
Return the extension portion of the file's name .
getFinishTime()
- Method in class com.jimweller.cpuscheduler.
Process
Get the value of finish.
getIdleTime()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the number of idle cpu cycles.
getInitBurstTime()
- Method in class com.jimweller.cpuscheduler.
Process
Get the initial burst value of this process.
getJarImages(String)
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
getJobs()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get all jobs
getLifetime()
- Method in class com.jimweller.cpuscheduler.
Process
Get the value of lifetime
getLoad()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the system load.
getMaxResponse()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the maximum process response time
getMaxTurn()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the maximum process turn around time
getMaxWait()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the maximum process wait time
getMeanResponse()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the mean process response time
getMeanTurn()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the mean process turn around time
getMeanWait()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the mean process wait time
getMinResponse()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the minimum process response time
getMinTurn()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the minimum process turn around time
getMinWait()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the minimum process wait time
getMinimumSize()
- Method in class com.jimweller.cpuscheduler.
ClockPanel
getMinimumSize()
- Method in class com.jimweller.cpuscheduler.
StatsPanel
getPID()
- Method in class com.jimweller.cpuscheduler.
Process
Get the value of PID.
getPreemption()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the value of preemptive.
getPreferredSize()
- Method in class com.jimweller.cpuscheduler.
ClockPanel
getPreferredSize()
- Method in class com.jimweller.cpuscheduler.
ProcessPanel
getPreferredSize()
- Method in class com.jimweller.cpuscheduler.
StatsPanel
getPriority()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the value of priority.
getPriorityWeight()
- Method in class com.jimweller.cpuscheduler.
Process
Get the value of priority.
getProc()
- Method in class com.jimweller.cpuscheduler.
ProcessPanel
Get the value of proc.
getProcsIn()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the number of recieved jobs.
getProcsOut()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the number of completed processes .
getQuantum()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the value of quantum.
getResponseTime()
- Method in class com.jimweller.cpuscheduler.
Process
Get the value of response time.
getShowHidden()
- Static method in class com.jimweller.cpuscheduler.
ProcessPanel
Get the value of showHidden.
getStartTime()
- Method in class com.jimweller.cpuscheduler.
Process
Get the value of start.
getStdDevResponse()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the standard deviation in process response time
getStdDevTurn()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the standard deviation in process turn around time
getStdDevWait()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the standard deviation in process wait time
getTotalTime()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get the total time this simulation has been running.
getWaitTime()
- Method in class com.jimweller.cpuscheduler.
Process
Get the value of wait.
H
HIDDEN_FILE
- Static variable in class com.jimweller.cpuscheduler.
BetterFileFilter
harvestStats()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Loop through the job queue and grab important statistics
height
- Static variable in class com.jimweller.cpuscheduler.
ClockPanel
height
- Static variable in class com.jimweller.cpuscheduler.
StatsPanel
I
idle
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
The amount of elapsed idle time.
idle
- Variable in class com.jimweller.cpuscheduler.
ClockPanel
idleLabel
- Variable in class com.jimweller.cpuscheduler.
ClockPanel
init()
- Method in class com.jimweller.cpuscheduler.
JunkApplet
initBurst
- Variable in class com.jimweller.cpuscheduler.
Process
Store original burst state.
initBurstColor
- Variable in class com.jimweller.cpuscheduler.
ProcessPanel
Some pretty colors to draw with.
initPanel()
- Method in class com.jimweller.cpuscheduler.
ProcessPanel
Build the panel
isActive()
- Method in class com.jimweller.cpuscheduler.
Process
Get the value of active.
isArrived()
- Method in class com.jimweller.cpuscheduler.
Process
Get the value of arrived.
isExtensionListInDescription()
- Method in class com.jimweller.cpuscheduler.
BetterFileFilter
Returns whether the extension list (.jpg, .gif, etc) should show up in the human readable description.
isFinished()
- Method in class com.jimweller.cpuscheduler.
Process
Get the value of finished.
isStarted()
- Method in class com.jimweller.cpuscheduler.
Process
Get the value of started.
J
JunkApplet
- class com.jimweller.cpuscheduler.
JunkApplet
.
very simple container for a CPUSchedulerFrameForApplet class
JunkApplet()
- Constructor for class com.jimweller.cpuscheduler.
JunkApplet
JunkGenerator
- class com.jimweller.cpuscheduler.
JunkGenerator
.
Quick and dirty main routine to generate *big* random data files for testing purposes.
JunkGenerator()
- Constructor for class com.jimweller.cpuscheduler.
JunkGenerator
jobQueue
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
The collection of all jobs that will be used
L
LoadJobQueue(Vector)
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Load all the jobs into the job queue and setup their arrival times
LoadReadyQueue()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Check for new jobs.
lblColor
- Variable in class com.jimweller.cpuscheduler.
ProcessPanel
Some pretty colors to draw with.
lengthSlider
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
lengthSlider
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
lifetime
- Variable in class com.jimweller.cpuscheduler.
Process
Measure of the total time a process was in the clutches of the scheduler.
M
MainApp
- class com.jimweller.cpuscheduler.
MainApp
.
Run this with java to get a CPUSchedulerFrame from the local workstation
MainApp()
- Constructor for class com.jimweller.cpuscheduler.
MainApp
main(String[])
- Static method in class com.jimweller.cpuscheduler.
JunkGenerator
main(String[])
- Static method in class com.jimweller.cpuscheduler.
MainApp
max
- Variable in class com.jimweller.cpuscheduler.
StatsPanel
maxLabel
- Variable in class com.jimweller.cpuscheduler.
StatsPanel
maxResponse
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
maxTurn
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
maxWait
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
mean
- Variable in class com.jimweller.cpuscheduler.
StatsPanel
meanLabel
- Variable in class com.jimweller.cpuscheduler.
StatsPanel
meanResponse
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
meanTurn
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
meanWait
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
menuBar
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
menuBar
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
min
- Variable in class com.jimweller.cpuscheduler.
StatsPanel
minLabel
- Variable in class com.jimweller.cpuscheduler.
StatsPanel
minResponse
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
minTurn
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
minWait
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
N
newMI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
newMI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
nextCycle()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Just run one cycle of the simulation.
nextPID
- Static variable in class com.jimweller.cpuscheduler.
Process
Store the value of the next pid to use.
O
openFileDialog
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
openFilter
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
openMI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
openMI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
optionsMenu
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
optionsMenu
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
P
PID
- Variable in class com.jimweller.cpuscheduler.
Process
The process' identification number.
PPHEIGHT
- Static variable in class com.jimweller.cpuscheduler.
ProcessPanel
The height of the process panel
PPWIDTH
- Static variable in class com.jimweller.cpuscheduler.
ProcessPanel
The width of the process panel
PRIORITY
- Static variable in class com.jimweller.cpuscheduler.
CPUScheduler
A constant for use in specifying the Priority Queue scheduling algorithm
Process
- class com.jimweller.cpuscheduler.
Process
.
An aggregate data type to represent a process to schedule.
Process()
- Constructor for class com.jimweller.cpuscheduler.
Process
Default constructor.
Process(long, long, long)
- Constructor for class com.jimweller.cpuscheduler.
Process
Articulate constructor.
ProcessPanel
- class com.jimweller.cpuscheduler.
ProcessPanel
.
A process panel is a thin tall (about 115x100) rectangle that consists of a cpu meter and a priority indicator.
ProcessPanel()
- Constructor for class com.jimweller.cpuscheduler.
ProcessPanel
Default constructor.
ProcessPanel(Process)
- Constructor for class com.jimweller.cpuscheduler.
ProcessPanel
Articulate constructor.
PurgeJobQueue()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Get rid of jobs that are done
PurgeReadyQueue()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Remove finished jobs.
paintComponent(Graphics)
- Method in class com.jimweller.cpuscheduler.
ProcessPanel
If the process is done remove it.
pausePic
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
pausePic
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
playPic
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
playPic
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
preemptCB
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
preemptCB
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
preemptive
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
Whether to use premption for the SJF and Priority algorithms.
pressPic
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
pressPic
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
priCB
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
priCB
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
priLbl
- Variable in class com.jimweller.cpuscheduler.
ProcessPanel
The label to show the priority.
priRB
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
priRB
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
print()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Dump to terminal.
print()
- Method in class com.jimweller.cpuscheduler.
Process
Show state of process on the terminal
printCSV()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
kindof ugly table to import into spreadsheet.
printCSV(PrintWriter)
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
kindof ugly table to import into spreadsheet.
printCSV()
- Method in class com.jimweller.cpuscheduler.
Process
Print comma seperated values to the terminal
printCSV(PrintWriter)
- Method in class com.jimweller.cpuscheduler.
Process
Print comma seperated values list to a PrintWriter object.
printReadyQueue()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Dump ready queue to terminal.
printTable()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
kindof nice looking table.
println()
- Method in class com.jimweller.cpuscheduler.
Process
Show state on a line.
priority
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
Whether to use priority weights for the round robin algorithm.
priority
- Variable in class com.jimweller.cpuscheduler.
Process
Execution priority.
proc
- Variable in class com.jimweller.cpuscheduler.
ProcessPanel
The process this panel sharkfishes from
procsIn
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
The number of jobs submitted for execution.
procsOut
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
the number of jobs that have been executed to completion.
Q
quantum
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
for use in the round robin algorithm.
quantumCounter
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
A count down to when to interrupt a process because it's timeslice is over.
quantumSlider
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
quantumSlider
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
queuePanel
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
queuePanel
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
quitMI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
quitMI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
R
ROUNDROBIN
- Static variable in class com.jimweller.cpuscheduler.
CPUScheduler
A constant for use in specifying the Round Robin scheduling algorithm
RunFCFS(Vector)
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Do the FCFS scheduling algorithm
RunPriority(Vector)
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Do the Priority scheduling algorithm
RunRoundRobin(Vector)
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Do the RR scheduling algorithm
RunSJF(Vector)
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Do the SJF scheduling algorithm.
readyQueue
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
The collection of all jobs that have arrived and require CPU time.
resetMI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
resetMI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
resetQueuePanel()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
Redisplay all hidden ProcessPanels
resetQueuePanel()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
Redisplay all hidden ProcessPanels
response
- Variable in class com.jimweller.cpuscheduler.
Process
The measure of time after arrival that it took to begin execution
responseSP
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
responseSP
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
restore()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Restore time and statisitic variables to their defaults.
restore()
- Method in class com.jimweller.cpuscheduler.
Process
Restores the process to it's original state.
rrRB
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
rrRB
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
S
SJF
- Static variable in class com.jimweller.cpuscheduler.
CPUScheduler
A constant for use in specifying the Shortes Job First scheduling algorithm
Schedule()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Use the appropriate scheduler to choose the next process.
Simulate()
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Run the whole simulation in one while loop
StatsPanel
- class com.jimweller.cpuscheduler.
StatsPanel
.
A simple panel for showing min/mean/max for any quantifier.
StatsPanel()
- Constructor for class com.jimweller.cpuscheduler.
StatsPanel
StatsPanel(String)
- Constructor for class com.jimweller.cpuscheduler.
StatsPanel
sDevResponse
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
sDevTurn
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
sDevWait
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
saveFilter
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
saveMI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
saveMI
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
setAlgorithm(int)
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Set the value of algorithm.
setArrivalTime(long)
- Method in class com.jimweller.cpuscheduler.
Process
Set the value of arrival.
setDescription(String)
- Method in class com.jimweller.cpuscheduler.
BetterFileFilter
Sets the human readable description of this filter.
setExtensionListInDescription(boolean)
- Method in class com.jimweller.cpuscheduler.
BetterFileFilter
Determines whether the extension list (.jpg, .gif, etc) should show up in the human readable description.
setFPS(int)
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
Set the frames per second for the animation.
setFPS(int)
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
Set the frames per second for the animation.
setPreemption(boolean)
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Set the value of preemptive.
setPriority(boolean)
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Set the value of priority.
setProc(Process)
- Method in class com.jimweller.cpuscheduler.
ProcessPanel
Set the value of proc.
setQuantum(long)
- Method in class com.jimweller.cpuscheduler.
CPUScheduler
Set the value of quantum.
setShowHidden(boolean)
- Static method in class com.jimweller.cpuscheduler.
ProcessPanel
Set the value of showHidden.
setStats(int, int, int)
- Method in class com.jimweller.cpuscheduler.
ClockPanel
Update the displayed numbers
setStats(int, double, int, double)
- Method in class com.jimweller.cpuscheduler.
StatsPanel
Update the statistic
showHidden
- Static variable in class com.jimweller.cpuscheduler.
ProcessPanel
Do you want to see unarrived processes? Look into the future.
showHiddenCB
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
showHiddenCB
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
sjfRB
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
sjfRB
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
speedMenu
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
speedMenu
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
start()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
Invoked by the browser only.
start()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
Invoked by the browser only.
start
- Variable in class com.jimweller.cpuscheduler.
Process
The time that the process firsts begins execution.
startAnimation()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
Can be invoked from any thread.
startAnimation()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
Can be invoked from any thread.
startCB
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
startCB
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
started
- Variable in class com.jimweller.cpuscheduler.
Process
A way to check if a process has started running yet.
statusBar
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
statusBar
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
stdDev
- Variable in class com.jimweller.cpuscheduler.
StatsPanel
stdDevLabel
- Variable in class com.jimweller.cpuscheduler.
StatsPanel
stop()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
Invoked by the browser only.
stop()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
Invoked by the browser only.
stopAnimation()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
Can be invoked from any thread.
stopAnimation()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
Can be invoked from any thread.
T
TYPE_UNKNOWN
- Static variable in class com.jimweller.cpuscheduler.
BetterFileFilter
timeLabel
- Variable in class com.jimweller.cpuscheduler.
ClockPanel
timer
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
timer
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
timet
- Variable in class com.jimweller.cpuscheduler.
ClockPanel
turnCounter
- Variable in class com.jimweller.cpuscheduler.
CPUScheduler
Only for the priority round robin algorithm, this variable keeps track of the number of consecutive timeslices a process has consumed.
turnSP
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
turnSP
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
U
unarrivedColor
- Variable in class com.jimweller.cpuscheduler.
ProcessPanel
Some pretty colors to draw with.
updateReadouts()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
Update the status displays (but not the scheduling queue)
updateReadouts()
- Method in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
Update the status displays (but not the scheduling queue)
useExtensionsInDescription
- Variable in class com.jimweller.cpuscheduler.
BetterFileFilter
W
wait
- Variable in class com.jimweller.cpuscheduler.
Process
The total amount of time the process spent waiting.
waitSP
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrame
waitSP
- Variable in class com.jimweller.cpuscheduler.
CPUSchedulerFrameForApplet
waiting(long)
- Method in class com.jimweller.cpuscheduler.
Process
The inverse of executing.
width
- Static variable in class com.jimweller.cpuscheduler.
ClockPanel
width
- Static variable in class com.jimweller.cpuscheduler.
StatsPanel
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes