Class bench.Bench
java.lang.Object
|
+--bench.Bench
- public class Bench
- extends java.lang.Object
- implements java.lang.Runnable
A Description of a Benchmark
Constructor Summary
|
Bench(java.io.InputStream stream)
|
Bench(BenchApplet applet,
java.io.InputStream stream)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
Bench
public Bench(java.io.InputStream stream)
throws java.io.IOException
Bench
public Bench(BenchApplet applet,
java.io.InputStream stream)
throws java.io.IOException
getName
public java.lang.String getName()
- Accessors for the Column & Entry information.
getSpecialPos
public int getSpecialPos()
getNumColumns
public int getNumColumns()
getColumns
public java.lang.String[] getColumns()
getEntries
public java.lang.String[] getEntries()
getColumnUnits
public java.lang.String getColumnUnits(int col)
getColumnValues
public double[] getColumnValues(int col)
getCurrentValues
public double[] getCurrentValues()
run
public void run()
- Description copied from interface:
- Specified by:
- run() in interface java.lang.Runnable
printTable
public void printTable(java.io.PrintStream out)
- Print a table of benchmark values onto stream out.
getSpecialRownum
public int getSpecialRownum()
tabulate
public java.lang.String[] tabulate()
- Return an array of strings representing the rows of a table tabulating
the values in the benchmark.
main
public static void main(java.lang.String[] argv)
throws java.lang.Exception
- Running as a command-line application (without a GUI)