|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object scale.test.GeomeanTime
public class GeomeanTime
This class calculates the geometric mean of the ratio of execution times to a minimum time.
$Id: GeomeanTime.java,v 1.4 2007-10-04 19:58:39 burrill Exp $
Copyright 2008 by the
Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.
This program processes a data file and outputs another data file. It acts as a filter and a combiner. Each line in the input file must be in the form:
yymmdd benchmark time ignored-characters\nwhere
time
is the number of seconds in floating point
format and benchmark
is the benchmark name. Only data
from recognized benchmarks is used. The program recognizes 52
different benchmarks.
A table is formed with one unique row for each date and one column for the execution time of each benchmark.
The geometric mean is calculated for each date. Benchmarks whose minimum time is 0 are not used. Nor are times that are less than 10% of the benchmark's minimum time. The minimum time for each benchmark for dodo.cs.umass.edu and star.cs.umass.edu are provided as part of the program.
After the data is read in, the table formed, and the geometric mean calculated, the selected information is written to separate files whose names are the benchmark names. This output is meant to be used as input to a graphing tool. The form of the output is:
yymmdd time\n
Constructor Summary | |
---|---|
GeomeanTime()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeomeanTime()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- the command line arguments
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |