All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

About(String, AppletContext). Constructor for class spec.harness.About
Constructor.
About(String, AppletContext, int, int, long). Constructor for class spec.harness.About
Constructor which also takes the size, sleep time.
action(Event, Object). Method in class spec.harness.About
Call back function called when the user presses 'OK' button
action(Event, Object). Method in class spec.harness.Dialog2
action routine which is called when the user performs any action like clicking on the button available in the button panel
action(Event, Object). Method in class spec.harness.TuningNotes
Callback routinue to handle the Button presses of the user
addCachedDataSize(int). Static method in class spec.harness.Context
Increments the the cached_data parameter by the integer passed.
addInner(Component). Method in class spec.harness.Dialog2Card
Adds the components to the inner panel
addIOtime(long). Static method in class spec.harness.Context
Increments the IOTime by the value provided
append(String). Method in class spec.harness.ConsoleWindow
Append some data to the text area.
appendWindow(String). Static method in class spec.harness.Context
Output to console window
applicationInit(). Method in class SpecApplet
This method is used when SpecJVM client is run as an application.
autoRun. Variable in class spec.harness.SpecJava
Flag indicating, whether the benchmarks are being run in automode or not.
available(). Method in class spec.io.FileInputStream
Returns the number of bytes that can be read from this input stream without blocking.

B

benchmarkDone(String, Properties). Method in interface spec.harness.BenchmarkDone
Constructor.
benchmarkDone(String, Properties). Method in class spec.harness.SpecJava
This method is called by the programmer runner class after finishing the benchmark.
benchmarkPrint(String). Method in interface spec.harness.BenchmarkDone
The results are formated and printed on to the console for the user.
benchmarkPrint(String). Method in class spec.harness.SpecJava
This method is called by program runner after finishing the benchmark.
BenchmarkTime(long). Constructor for class spec.harness.BenchmarkTime

C

canRead(). Method in class spec.io.File
Checks whether the given file is readable
canWrite(). Method in class spec.io.File
Checks whether the given file is writablle or not
cdInput(). Static method in class spec.harness.Context
This function changes the basepath to point to the input directory of the benchmark.
clearCache(). Static method in class spec.io.FileInputStream
Clears the cache data and updates the Caching parameters
clearCount(). Static method in class spec.io.FileOutputStream
Chears the byte counter
clearIOStats(). Static method in class spec.io.FileInputStream
Clears the IO statistics variables.
clearIOtime(). Static method in class spec.harness.Context
Clears the IOtiming.
close(). Method in class spec.io.FileInputStream
Closes this input stream and releases any system resources associated with the stream.
closeAll(). Static method in class spec.io.FileInputStream
Closes all the opened streams
compare(String, String). Method in class spec.harness.QuickSort
Compares two strings lexicographically.
ConsoleOutputStream(). Constructor for class spec.io.ConsoleOutputStream
ConsoleWindow(). Constructor for class spec.harness.ConsoleWindow
Constructor
constrain(Container, Component, int, int, int, int). Method in class spec.harness.Constraints
constrain(Container, Component, int, int, int, int, int, int, double, double, int, int, int, int). Method in class spec.harness.Constraints
constrain(Container, Component, int, int, int, int, int, int, int, int). Method in class spec.harness.Constraints
Constraints(). Constructor for class spec.harness.Constraints
Context(). Constructor for class spec.harness.Context
copyData(byte). Method in class spec.io.FileCacheData
Copies the byte to the data buffer.
copyData(byte[], int, int). Method in class spec.io.FileCacheData
Copies the given specified of bytes from the given buffer from given offset to the data buffer of the FileCacheData object
createData(int). Method in class spec.io.FileCacheData
Creates the byte array to hold the file data.
createValidityCheckFiles. Static variable in class spec.harness.ProgramRunner
SpecJava can be run as application to create the validity files.
createValidityFile(). Method in class spec.io.ValidityCheckOutputStream
Create the valitity check file.

D

debug. Static variable in class spec.io.FileInputStream
Enables or disables the Debug mode of operation
DecrementNumOpenFiles(). Static method in class spec.harness.Context
Decrements the number of Files open parameter
delete(). Method in class spec.io.File
Deletes the file specified by this object.

E

equals(Object). Method in class spec.io.File
Compares this object against the specified object.
exists(). Method in class spec.io.File
Checks whether the given file name exists or not
exists(String). Method in class spec.io.TableOfExistingFiles
Checks whether the given file exists in the list of existing files

F

File(File, String). Constructor for class spec.io.File
Overloaded constructor which takes the directory in the File object format and a name of the file.
File(String). Constructor for class spec.io.File
Constructor.
File(String, String). Constructor for class spec.io.File
Overloaded constructor which takes the path and the files name to load the file
FileCacheData(int). Constructor for class spec.io.FileCacheData
Constructor
FileInputStream(File). Constructor for class spec.io.FileInputStream
Constructor
FileInputStream(String). Constructor for class spec.io.FileInputStream
Main class constructor.
FileOutputStream(File). Constructor for class spec.io.FileOutputStream
Standard constructor
FileOutputStream(String). Constructor for class spec.io.FileOutputStream
Standard constructor.
FileOutputStream(String, boolean). Constructor for class spec.io.FileOutputStream
Standard constructor.
finalize(). Method in class spec.io.FileInputStream
Finalization method.
flush(). Method in class spec.io.ConsoleOutputStream
Flushes the stream.

G

get(String). Method in class spec.harness.SpecProps
Get the property value associated with the key.
get(String, String). Method in class spec.harness.SpecProps
Get the property value associated with the key, or if there is none then return the supplied default value
getAbsolutePath(). Method in class spec.io.File
returns tha absolutePath of the file Dir + name
getBasePath(). Static method in class spec.harness.Context
Returns the spec base path.
getBoolean(String). Method in class spec.harness.SpecProps
Get the boolean property value associated with the key.
getCachedDataSize(). Static method in class spec.harness.Context
gets the cached data size.
getCachedDataSize(). Static method in class spec.io.FileInputStream
Returns the size of the cached data
getCachingtime(). Static method in class spec.io.FileInputStream
Returns the Caching time
getCommandLineMode(). Static method in class spec.harness.Context
Get commandLineMode flag
getContentLength(). Method in class spec.io.FileInputStream
Returns the stream length
getGraphicsMode(). Static method in class spec.harness.Context
Returns the graphic mode flag value
getInputStream(). Method in class spec.io.FileCacheData
Converts the data buffer array to InputStream
getIOtime(). Static method in class spec.harness.Context
Returns the IO time
getIOtime(). Static method in class spec.io.FileInputStream
Returns the IO time spent in executing the current benchmark
getLength(). Method in class spec.io.FileCacheData
Returns the length of the buffer.
getName(). Method in class spec.io.File
returns the name of the file
getNumCacheByteReads(). Static method in class spec.io.FileInputStream
Returns the number of bytes read from the cache
getNumCachedFiles(). Static method in class spec.harness.Context
gets the numbef of cached files.
getNumCachedFiles(). Static method in class spec.io.FileInputStream
Returns the number of Cached files
getNumCacheHits(). Static method in class spec.io.FileInputStream
Returns the number of cache hits in executing the current benchmark
getNumCacheMisses(). Static method in class spec.io.FileInputStream
Returns the number of cache misses in executing the current benchmark
getNumFileByteReads(). Static method in class spec.io.FileInputStream
Returns the number of bytes read from the file
getNumOpenFiles(). Static method in class spec.harness.Context
returns the number of files open
getNumOpenFiles(). Static method in class spec.io.FileInputStream
Returns the number of open files
getNumUrlByteReads(). Static method in class spec.io.FileInputStream
Returns the number of bytes read form the URL
getNumUsedFiles(). Static method in class spec.io.FileInputStream
Returns the number of used files
getParent(). Method in class spec.io.File
returns the Parent directory name
getPath(). Method in class spec.io.File
returns the path of the file
getProperties(). Method in class spec.harness.SpecProps
Get the java.util.Properties (all of them)
getSpecBasePath(). Static method in class spec.harness.Context
returns the specbase path
getSpeed(). Static method in class spec.harness.Context
Returns the speed of the benchmark.
getTitle(String). Method in class spec.harness.SpecProps
Get the title property value associated with the key.
getTotalRetries(). Static method in class spec.io.FileInputStream
Return the total retries
getUserPropFile(). Static method in class spec.harness.Context
Returns the properties file name
getValue(String, int). Static method in class spec.harness.Context
This function returns the integer value given the String form of it.
getVerify(). Static method in class spec.harness.Context
Get verify flag

H

handleEvent(Event). Method in class spec.harness.ConsoleWindow
Handle event.
handleEvent(Event). Method in class spec.harness.ReportFrame
This method is called when the operator presses on any of the Send, Full buttons or closes this window.
handleEvent(Event). Method in class SpecApplet
Callback function to handle the user operations
handleEvent(Event). Method in class spec.harness.SpecJava
This is the callback function for the buttons in the applet
harness(). Static method in class SpecApplication
Brings up the harness window
harnessMain(String[]). Method in interface spec.harness.SpecBenchmark
Starts the benchmark.
hashCode(). Method in class spec.io.File
Computes a hashcode for the file.

I

IncrementNumCachedFiles(). Static method in class spec.harness.Context
Increments the the num_cached_files parameter by 1.
IncrementNumOpenFiles(). Static method in class spec.harness.Context
Increments the number of Files open parameter.
init(). Method in class SpecApplet
Applet initialization method.
init(Applet, boolean). Method in class spec.harness.SpecJava
init method of the applet.
initPart2(). Method in class spec.harness.SpecJava
Initialization is divided into 2 parts.
isBatch(). Static method in class spec.harness.Context
Returns whether SpecJVMClient is running in batch mode
isCachedInput(). Static method in class spec.harness.Context
Returns the cached input flag
isDirectory(). Method in class spec.io.File
Checks whether the given file name is directory or not
isFile(). Method in class spec.io.File
Checks whether the given file name is a file or directory The functionality is modified to return whether the file name is classes.zip or not
isNetworkAccess(). Static method in class spec.harness.Context
Indicates whether SpecJVMClient is running as an applet or application
isSetup(). Method in class spec.harness.SpecProps
Checks whether the user did the setup atleast once.
IsURLOk(URL). Static method in class spec.io.FileInputStream
Checks whether the given URL is valid or not.

K

keyAt(int). Method in class spec.harness.OrderedProperties
returns the element at the particular posion of the sequence vector

L

lastModified(). Method in class spec.io.File
Returns the date of last modification
length(). Method in class spec.io.File
Returns the length of the file
list(). Method in class spec.io.File
Returns a list of the files in the directory specified by this File object
list(FilenameFilter). Method in class spec.io.File
Returns a list of the files in the directory specified by this File that satisfy the specified filter.
list(PrintStream). Method in class spec.harness.SpecProps
Lists all the properties to the output stream provided
load(InputStream). Method in class spec.harness.OrderedProperties
The load method of the Properties class is overloaded to provide the extra functionality of the sequencing.

M

main(String[]). Static method in class SpecApplication
Instance main method.
millis(). Method in class spec.harness.BenchmarkTime
Returns the time in milliseconds
mkdir(). Method in class spec.io.File
Creates a new directory
mkdirs(). Method in class spec.io.File
Creates a directory whose pathname is specified by this File object, including any necessary parent directories.

N

NUM_ITER. Variable in class spec.harness.SpecJava
numofCloses. Static variable in class spec.io.FileInputStream
Keeps a count of closed filestreams

O

OrderedProperties(). Constructor for class spec.harness.OrderedProperties
out. Static variable in class spec.harness.Context
out is the PrintStream into which the trace messages will be written.

P

paint(Graphics). Method in class spec.harness.About
Paints the window
parametersChosen(). Method in class spec.harness.SpecProps
print(char, String). Method in class spec.io.PrintStream
Print a string in a validity context
printCount(boolean). Static method in class spec.io.FileOutputStream
Prints the byte counter in validity check mode '1'
println(char, String). Method in class spec.io.PrintStream
Print a string in a validity context
PrintStream(OutputStream). Constructor for class spec.io.PrintStream
Creates a new PrintStream.
ProgramRunner(String, String[], boolean, BenchmarkDone, char, int, int, int, int, boolean, boolean). Constructor for class spec.harness.ProgramRunner
Overloaded constructor for the class.
put(String, String). Method in class spec.harness.SpecProps
Adds the Key and Hash to the Properties object

Q

qualifyFileName(String). Method in class spec.harness.SpecJava
converts filenames to URL's.
QuickSort(). Constructor for class spec.harness.QuickSort

R

read(). Method in class spec.io.FileInputStream
Reads the next byte of data from this input stream.
read(byte[]). Method in class spec.io.FileInputStream
Reads up to byte.length bytes of data from this input stream into an array of bytes.
read(byte[], int, int). Method in class spec.io.FileInputStream
Reads up to len bytes of data from this input stream into an array of bytes.
renameTo(File). Method in class spec.io.File
Renames the file
ReportFrame(Hashtable, SpecProps, String, boolean). Constructor for class spec.harness.ReportFrame
Constructor for the ReportFrame.
resetValues(). Method in class spec.harness.Dialog2
Resets the setup parameters.
resetValues(). Method in class spec.harness.Dialog2Card
Resets the values for the properties found in this page.
run(). Method in class spec.harness.About
Run method for the thread.
run(). Method in class spec.harness.ProgramRunner
The overloaded run method of the benchmark.
run(String, boolean, Properties, BenchmarkDone). Static method in class spec.harness.RunProgram
runBenchmark(String, boolean). Static method in class SpecApplication
Runs the selected benchmark
RunProgram(). Constructor for class spec.harness.RunProgram

S

secs(). Method in class spec.harness.BenchmarkTime
Returns the time in seconds
setBatch(boolean). Static method in class spec.harness.Context
Sets the batch flag
setBenchmarkRelPath(String). Static method in class spec.harness.Context
sets the benchmark relative path.
setCachedInputFlag(boolean). Static method in class spec.harness.Context
Sets the CachedInput flag.
setCommandLineMode(boolean). Static method in class spec.harness.Context
Set commandLineMode flag
setGraphicsMode(boolean). Static method in class spec.harness.Context
Sets the graphics mode.
setNetworkAccess(boolean). Static method in class spec.harness.Context
Sets the network access flag
setRunner(Thread). Method in class spec.harness.About
Sets the runner parameter
setSpecBasePath(String). Static method in class spec.harness.Context
This function set the SpecBasePath to the string value passed with some data stripped.
setSpeed(int). Static method in class spec.harness.Context
Sets the speed of execution to the value passed.
setup(). Method in class spec.harness.SpecProps
Shows the Setup dialog.
setupConsoleWindow(). Static method in class spec.harness.Context
This function creates the new Console window and the print stream
setUserPropFile(String). Static method in class spec.harness.Context
Sets the user properties file.
setValidityCheckValue(char). Method in class spec.io.ConsoleOutputStream
Change the validity checking value.
setValidityCheckValue(char). Method in class spec.io.ValidityCheckOutputStream
Change the validity checking value.
setVerify(boolean). Static method in class spec.harness.Context
Set verify flag
show(). Method in class spec.harness.ConsoleWindow
Shows the window.
show(). Method in class spec.harness.ReportFrame
Shows the Window.
show(). Method in class spec.harness.TuningNotes
Shows the dialog box.
size(). Method in class spec.harness.OrderedProperties
returns the size of the sequence vector.
skip(long). Method in class spec.io.FileInputStream
Skips over and discards n bytes of data from the input stream.
skipPos(long). Method in class spec.io.FileCacheData
Skips a portion of buffer
sort(String). Static method in class spec.harness.QuickSort
Sorts the sub strings (which are seperated by "\n") in a string
sort(String, boolean). Static method in class spec.harness.QuickSort
Tokenizes the given string by looking for '\n' and sorts the resulting string array.
sort(String[]). Static method in class spec.harness.QuickSort
Sorts the string array passed
SpecApplet(). Constructor for class SpecApplet
SpecApplication(). Constructor for class SpecApplication
specialTrace(String, int). Static method in class spec.io.FileOutputStream
SpecJava(). Constructor for class spec.harness.SpecJava
Default constructor for the SpecJava class
SpecProps(String). Constructor for class spec.harness.SpecProps
Creates a new SPEC properties object, initialized with properties read from a file or URL "props/spec".
SpecProps(String, Color). Constructor for class spec.harness.SpecProps
Creates a new SPEC properties object as above
SpecProps(String, String, String, String, Color). Constructor for class spec.harness.SpecProps
Creates a new SPEC properties object, initialized with properties and titles read from files as above.
standalone. Static variable in class spec.harness.SpecJava
start(). Method in class SpecApplet
Applet Start method
start(). Method in class spec.harness.SpecJava
startOutputWindow(). Static method in class spec.harness.Context
Start output window
startSort(String[]). Method in class spec.harness.QuickSort
Starts the sorting of strings.
statusOK. Variable in class spec.harness.Dialog2
Flag indicating whether the user pressed OK button.
stop(). Method in class SpecApplet
Applet stop method
stop(). Method in class spec.harness.SpecJava
stopBenchmark(). Method in class spec.harness.ProgramRunner
This function is called when the user presses the 'Stop' button during the executionof the benchmark.
StopBenchmarkException(String). Constructor for class spec.harness.StopBenchmarkException
stopOutputWindow(). Static method in class spec.harness.Context
Stop output window

T

TableOfExistingFiles(). Constructor for class spec.io.TableOfExistingFiles
Constructor.
testing. Static variable in class spec.io.FileInputStream
ThreadPriority. Static variable in class spec.harness.ProgramRunner
This value represents the priority with which the thread has to be created.
toLongString(). Method in class spec.harness.BenchmarkTime
Returns the time in seconds in formated way Eg.
toSingleLine(). Method in class spec.harness.TuningNotes
toString(). Method in class spec.harness.BenchmarkTime
Converts the time in seconds into string without any special formatting
toString(). Method in class spec.io.File
Returns a string representation of this object.
toString(). Method in class spec.harness.SpecProps
Overriden toString() method
TuningNotes(String). Constructor for class spec.harness.TuningNotes
Constructor for the Tuning notes object.

V

valid. Variable in class spec.harness.BenchmarkTime
Flag indicating whether the time is a valid time or not
validityCheck(Properties, int). Method in class spec.io.ValidityCheckOutputStream
Validity check the output and write any errors into the results property file
ValidityCheckOutputStream(String, String). Constructor for class spec.io.ValidityCheckOutputStream
Creates a new PrintStream.
ValidityCheckOutputStream(String, String, char). Constructor for class spec.io.ValidityCheckOutputStream
Creates a new PrintStream.
valueAt(int). Method in class spec.harness.OrderedProperties

W

write(byte[]). Method in class spec.io.ConsoleOutputStream
Writes an array of bytes.
write(byte[]). Method in class spec.io.FileOutputStream
Write b.length bytes into output stream
write(byte[], int, int). Method in class spec.io.ConsoleOutputStream
Writes a subarray of bytes.
write(byte[], int, int). Method in class spec.io.FileOutputStream
Writes len bytes from the specified byte array starting at offset off to this output stream.
write(int). Method in class spec.io.ConsoleOutputStream
Writes a byte.
write(int). Method in class spec.io.FileOutputStream
Writes specified byte into output stream.
write(int). Method in class spec.io.ValidityCheckOutputStream
Writes a byte.